After stand-alone login, how do I do anything?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • RealLifeNinja
    Junior Member
    • Oct 2014
    • 1

    #1

    After stand-alone login, how do I do anything?

    I've set up the SSL and everything, however all the examples for the new API seem to show the header containing 'Content-Type': 'application/json', yet for stand-alone login the header must be 'application/x-www-form-urlencoded'.

    If anyone would mind looking at the python code below and append it to make any successful request on the market, I'll be able to figure it out.

    If I try to parse headers=head for the response at the end, it says I have an invalid APP_ID (which I 100% don't). In its current state I get the following:

    SUCCESS
    XXXXXXXXXXXXXXXXXXXXXXXXXx=
    {
    "loginStatus": "SUCCESS",
    "sessionToken": "XXXXXXXXXXXXXXXXXXXXXXx="
    }
    {
    "faultstring": "DSC-0011",
    "faultcode": "Client",
    "detail": {}

    Thanks!

    http://pastebin.com/sCfP6NHk

Working...
X