Fixed a bug; a POST should by default use application/x-www-form-urlencoded as content-type