Created
May 29, 2013 20:58
-
-
Save db0company/5673788 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Get an authentication token using this user | |
## URL: http://paysdu42.fr:2048/api/v1/tokens | |
## POST data: login=0onms&password=helloworld | |
## Content received: | |
{ | |
"error": null, | |
"element": { | |
"modification": "2013-05-29T20:41:21Z", | |
"user": "51a667f18a3cba7913000001", | |
"token": "0onms-421946590-1370464881303", | |
"expiration": "2013-06-05T20:41:21Z", | |
"creation": "2013-05-29T20:41:21Z", | |
"id": "51a667f18a3cba7913000002" | |
} | |
} | |
[Error] | |
Message: The JSON tree response is not formatted as expected: Can't get member 'lang' of non-object type string | |
"51a667f18a3cba7913000001" | |
Type: CLIENT_InvalidJSON | |
Code: -18 | |
----> FAILURE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment