Lines Matching refs:POST
92 // running after Get, Head, Post, or Do return and will
109 // DefaultClient is the default Client and is used by Get, Head, and Post.
231 // Most the callers of send (Get, Post, et al) don't need
482 // Generally Get, Post, or PostForm will be used instead of Do.
708 // Post issues a POST to the specified URL.
715 // Post is a wrapper around DefaultClient.Post.
721 func Post(url string, contentType string, body io.Reader) (resp *Response, err error) {
722 return DefaultClient.Post(url, contentType, body)
725 // Post issues a POST to the specified URL.
736 func (c *Client) Post(url string, contentType string, body io.Reader) (resp *Response, err error) {
737 req, err := NewRequest("POST", url, body)
745 // PostForm issues a POST to the specified URL, with data's keys and
762 // PostForm issues a POST to the specified URL,
774 return c.Post(url, "application/x-www-form-urlencoded", strings.NewReader(data.Encode()))