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@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

--
_______________________________________________
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev