The request can also include
Accept: application/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(a)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...
Sent from the aerogear-dev mailing list archive at
Nabble.com.
_______________________________________________
aerogear-dev mailing list
aerogear-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev