Delete sends a DELETE request to the specified URL, similar to axios.
(url string, cfg ...Config)
| 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) { |
| 740 | req := AcquireRequest().SetClient(c) |
| 741 | setConfigToRequest(req, cfg...) |
| 742 | return req.Delete(url) |
| 743 | } |
| 744 | |
| 745 | // Options sends an OPTIONS request to the specified URL, similar to axios. |
| 746 | func (c *Client) Options(url string, cfg ...Config) (*Response, error) { |
nothing calls this directly
no test coverage detected