The request can also include
Acceptapplication/json

That may instruct the server to respond with JSON instead of its default of HTML.  Depends on the remote server/service.

On Aug 7, 2014, at 8:06 AM, A577127 <antoine.matyja@worldline.com> wrote:

In your POST request, you must set the "Content-Type" header to
"application/json".



--
View this message in context: http://aerogear-dev.1069024.n5.nabble.com/aerogear-dev-text-html-Requests-instead-of-application-json-tp8779p8781.html
Sent from the aerogear-dev mailing list archive at Nabble.com.
_______________________________________________
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev