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

Christos Vasilakis cvasilak at gmail.com
Thu Aug 7 08:05:40 EDT 2014


Hi Marc,

thanks for your email. Mind to be a little specific on the details e.g. what kind of platform are you using, and what API are u going against too. It will be easier for us to identify the issue and offer some help.

-
Christos


On Aug 7, 2014, at 2:58 PM, Marc Pires <marcpiresrj at gmail.com> wrote:

> 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
> _______________________________________________
> 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/7479c2d7/attachment.html 


More information about the aerogear-dev mailing list