MCPcopy
hub / github.com/gofiber/fiber / Put

Method Put

client/client.go:732–736  ·  view source on GitHub ↗

Put sends a PUT request to the specified URL, similar to axios.

(url string, cfg ...Config)

Source from the content-addressed store, hash-verified

730
731// Put sends a PUT request to the specified URL, similar to axios.
732func (c *Client) Put(url string, cfg ...Config) (*Response, error) {
733 req := AcquireRequest().SetClient(c)
734 setConfigToRequest(req, cfg...)
735 return req.Put(url)
736}
737
738// Delete sends a DELETE request to the specified URL, similar to axios.
739func (c *Client) Delete(url string, cfg ...Config) (*Response, error) {

Callers

nothing calls this directly

Calls 4

AcquireRequestFunction · 0.85
setConfigToRequestFunction · 0.85
SetClientMethod · 0.80
PutMethod · 0.65

Tested by

no test coverage detected