OptimusHTTP
OptimusHTTP copied to clipboard
Send only json in post request
How can I send only json in post request?
I'm using
ArrayMap<String, String> params = new ArrayMap<String, String>(); String jsonParam = gson.toJson(param); params.put("", jsonParam);
But the request is send with = symbol
Example: ={test:"test"}
I already put the OptimusHttp.CONTENT_TYPE_JSON, but the "=" still appear
Hi i create this fix to problem. https://github.com/nisrulz/OptimusHTTP/pull/8
I still have the same error with your fix :/
The #8 pull request was not being accepted yet. @luizfelipetx can you resolve the conflicts on this PR?