Post sends a POST request using the default client.
(url string, cfg ...Config)
| 1007 | |
| 1008 | // Post sends a POST request using the default client. |
| 1009 | func Post(url string, cfg ...Config) (*Response, error) { |
| 1010 | return C().Post(url, cfg...) |
| 1011 | } |
| 1012 | |
| 1013 | // Head sends a HEAD request using the default client. |
| 1014 | func Head(url string, cfg ...Config) (*Response, error) { |