[aerogear-dev] text/html Requests instead of application/json

Burr Sutter bsutter at redhat.com
Thu Aug 7 10:11:37 EDT 2014


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 at 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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20140807/69d23764/attachment.html 


More information about the aerogear-dev mailing list