Query sends a QUERY request to the specified URL, similar to axios.
(url string, cfg ...Config)
| 758 | |
| 759 | // Query sends a QUERY request to the specified URL, similar to axios. |
| 760 | func (c *Client) Query(url string, cfg ...Config) (*Response, error) { |
| 761 | req := AcquireRequest().SetClient(c) |
| 762 | setConfigToRequest(req, cfg...) |
| 763 | return req.Query(url) |
| 764 | } |
| 765 | |
| 766 | // Custom sends a request with a custom method to the specified URL, similar to axios. |
| 767 | func (c *Client) Custom(url, method string, cfg ...Config) (*Response, error) { |
nothing calls this directly
no test coverage detected