Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languageJavaScript
$ curl -b cookies -c cookies -X POST -d @auth 'httphttps://api.appnexus.com/auth'

{
    "response": {
        "status": "OK",
        "token": "h20hbtptiv3vlp1rkm3ve1qig0",
        "dbg_info": {
            ...
        }
    }
}

...

Code Block
languageJavaScript
$ curl -b cookies -c cookies 'httphttps://api.appnexus.com/member'

{
    "response": {
        "members": [
            {
                "id": "1",
                "name": "Car company c\/o Ad Agency",
                "active": "1",
                "bidder_id": "2"
            }
        ]
    }
}

...

Code Block
languageJavaScript
$ curl -H "Authorization: 622cee5f8c99c81e87614e9efc63eddb" 'httphttps://api.appnexus.com/member'

{
    "response": {
        "members": [
            {
                "id": "1",
                "name": "Car company c\/o Ad Agency",
                "active": "1",
                "bidder_id": "2"
            }
        ]
    }
}

...