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

Marc Pires marcpiresrj at gmail.com
Thu Aug 7 07:58:56 EDT 2014


Hi guys, i'm having a little trouble with an app i'm developing. Doing a
post request against an API, I receive from the server that my request is
going as text/html instead application/json, text/javascript or text/json
that the API expects.

As I never had this problem before, i research the docs but did not found
the reference yet, so how can i define my request to go as application/json
instead text/html

-- 
Desenvolvedor IOS, Rails, RIA

http://www.linkedin.com/in/marcpires
http://about.me/marcelo_pires
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20140807/d03c433c/attachment.html 


More information about the aerogear-dev mailing list