denis.st
03/17/2016, 9:37 PM//if you have body to post it manually
<http://Fuel.post|Fuel.post>("<http://httpbin.org/post>").body("{ \"foo\" : \"bar\" }").response { request, response, result ->
}
For such a body there should be a correct Content-Type
specified. Something like application/json
. But for the case like in the example I getting Content-Type: application/x-www-form-urlencoded; charset=utf-8