Fix Content-type value on POST (and other methods != GET)

Fixes sending the wrong Content-Type header by removing the
application/json value it was wrongly setting by default. Only
application/x-www-form-urlencoded is now sent, so the server can
interpret the HTTP body accordingly.