Put sends a PUT request to the specified URL, similar to axios.
(url string, cfg ...Config)
| 730 | |
| 731 | // Put sends a PUT request to the specified URL, similar to axios. |
| 732 | func (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. |
| 739 | func (c *Client) Delete(url string, cfg ...Config) (*Response, error) { |
nothing calls this directly
no test coverage detected