Hi guys, sorry to answer this question just now. Well, I checked with the
backend developer and we solved the issue. My requests was already a json
one. It was backend problem tough.
Thanks for helping.
On Thu, Aug 7, 2014 at 8:58 AM, Marc Pires <marcpiresrj(a)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
--
Desenvolvedor IOS, Rails, RIA
http://www.linkedin.com/in/marcpires
http://about.me/marcelo_pires