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://about.me/marcelo_pires