Hi, I am trying to use the Heroku REST API from an Android project. However, I couldn't make any successful call yet. In fact, I get the response under an html format (instead of json even by adding the appropriate headers). I have tested the call with curl and it works:
curl -H "Accept: application/json" -H "X-Heroku-Api-version: 0.1" https://api.heroku.com/login -F username='xxx' -F password='xxx' I am pretty confident in the way I am making the post request, as it's the same lines of code I use on every projects of mine. Before showing any code, I would like to know if it's appropriate to ask this question on this group or should I ask it on StackOverflow for instance. Also I would like to know, if you know any reason why I would get an html response instead of json from my project and not from that curl command. Thanks! Amokrane -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
