Created
May 29, 2013 20:12
-
-
Save db0company/5673451 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 users | |
## URL: http://paysdu42.fr:2048/api/v1/users?limit=2&term=a | |
## POST data: | |
## Content received: | |
{ | |
"error": null, | |
"element": { | |
"server_size": 56, | |
"index": 0, | |
"limit": "2", | |
"items": [ | |
{ | |
"login": "db0", | |
"firstname": "Barbara", | |
"lastname": "Lepage", | |
"gender": "female", | |
"lang": "en", | |
"birthday": "2006-01-02", | |
"_id": "51a4afc8d6f58f7e2c000001", | |
"account_creation": "2013-05-28T13:23:20.767Z", | |
"__v": 0, | |
"creation": "2018-05-29T15:25:14Z", | |
"friends": [], | |
"achievements": [], | |
"profile_url": "http://l.ohai.fr/user/db0", | |
"name": "Barbara Lepage", | |
"id": "51a4afc8d6f58f7e2c000001", | |
"avatar": null | |
}, | |
{ | |
"login": "YlGxb", | |
"firstname": "Barbara", | |
"lastname": "Lepage", | |
"gender": "female", | |
"lang": "en", | |
"birthday": "2006-01-02", | |
"_id": "51a4b72c9643dfce2c000003", | |
"__v": 0, | |
"creation": "2018-05-29T15:25:14Z", | |
"friends": [], | |
"achievements": [], | |
"profile_url": "http://l.ohai.fr/user/ylgxb", | |
"name": "Barbara Lepage", | |
"id": "51a4b72c9643dfce2c000003", | |
"avatar": null | |
} | |
] | |
} | |
} | |
[Error] | |
Message: The JSON tree response is not formatted as expected: Expected int, got string | |
"2" | |
Type: CLIENT_InvalidJSON | |
Code: -18 | |
----> FAILURE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment