Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Ask HN: What is REST exactly?.
Rest is a standardized way of structuring url's and http verbs.
For instance:
1) To get all "posts" from a blog, you send a GET request to www.whatever.com/posts
2) To read a single post, you send a GET request to www.whatever.com/posts/<id>
3) To create a single post, you send a POST request to www.whatever.com/posts
4) Finally, to get all comments from a post, you send a GET request to www.whatever.com/posts/<id>/comments
There are no comments on this comment yet.
Rest is a standardized way of structuring url's and http verbs.
For instance:
1) To get all "posts" from a blog, you send a GET request to www.whatever.com/posts
2) To read a single post, you send a GET request to www.whatever.com/posts/<id>
3) To create a single post, you send a POST request to www.whatever.com/posts
4) Finally, to get all comments from a post, you send a GET request to www.whatever.com/posts/<id>/comments