http.go
func HTTPPostForm(url string, data url.Values) (statusCode int, statusText string, err error) {
	request, err := http.NewRequest("POST", url, strings.NewReader(data.Encode()))
	if err != nil {
		return 0, "", err
	}
	request.Header.Set("Content-Type", "application/x-www-form-urlencoded")
	response, err := http.DefaultClient.Do(request)
	if err != nil {
		return 0, "", err
	}
	return response.StatusCode, response.Status, nil
}
func HTTPPostForm(url string, data url.Values) (statusCode int, statusText string, err error) {
	request, err := http.NewRequest("POST", url, strings.NewReader(data.Encode()))
	if err != nil {
		return 0, "", err
	}
	request.Header.Set("Content-Type", "application/x-www-form-urlencoded")
	response, err := http.DefaultClient.Do(request)
	if err != nil {
		return 0, "", err
	}
	return response.StatusCode, response.Status, nil
}
func HTTPPostForm ( url string , data url . Values ) ( statusCode int , statusText string , err error ) { request , err := http . NewRequest ( " " , url , strings . NewReader ( data . Encode ( ) ) ) if err != nil { return 0 , " " , err } request . Header . Set ( " " , " " ) response , err := http . DefaultClient . Do ( request ) if err != nil { return 0 , " " , err } return response . StatusCode , response . Status , nil }
// HTTPPostForm performs a HTTP POST request with data as application/x-www-form-urlencoded
HTTPPostForm performs a HTTP POST request with data as application / x - www - form - urlencoded