This language bar is your friend. Select your favorite languages!

Idiom #174 Make HTTP POST request

Make a HTTP request with method POST to URL u

import "net/http"
response, err := http.Post(u, contentType, body)
import std.net.curl; 
auto response = post(u, content);

Do you know the best way to do this in your language ?
New implementation...

Idiom created by

programming-idioms.org