Created
January 7, 2012 06:05
-
-
Save j2labs/1573951 to your computer and use it in GitHub Desktop.
API output for a REST call with multiple items.
This file contains hidden or 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
$ curl http://localhost:6767/todo/ | python -m json.tool | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 241 100 241 0 0 54463 0 --:--:-- --:--:-- --:--:-- 117k | |
[ | |
{ | |
"_cls": "Todo", | |
"_id": "84b38d14-4a11-439a-8e3f-bbe5a499714b", | |
"_types": [ | |
"Todo" | |
], | |
"done": false, | |
"order": 2, | |
"text": "i dunno?" | |
}, | |
{ | |
"_cls": "Todo", | |
"_id": "540b4612-cf6a-4d9f-b067-4f2c5164f8e9", | |
"_types": [ | |
"Todo" | |
], | |
"done": false, | |
"text": "Watch Blade Runner" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment