<div dir="ltr"><div>Hi guys, i&#39;m having a little trouble with an app i&#39;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.<br>
<br></div>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<br clear="all"><div><div><div><br>-- <br><div dir="ltr">
<div>Desenvolvedor IOS, Rails, RIA</div><div><br></div><div><a href="http://www.linkedin.com/in/marcpires" target="_blank">http://www.linkedin.com/in/marcpires</a><br></div><a href="http://about.me/marcelo_pires" target="_blank">http://about.me/marcelo_pires</a><br>
</div>
</div></div></div></div>