Get sends a GET request using the default client.
(url string, cfg ...Config)
| 1002 | |
| 1003 | // Get sends a GET request using the default client. |
| 1004 | func Get(url string, cfg ...Config) (*Response, error) { |
| 1005 | return C().Get(url, cfg...) |
| 1006 | } |
| 1007 | |
| 1008 | // Post sends a POST request using the default client. |
| 1009 | func Post(url string, cfg ...Config) (*Response, error) { |