Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // http://localhost:5050/articles/1
- {
- "_type": "Article",
- "href": "http://localhost:5050/articles/1",
- "title": "First Article",
- "text": "Lorem Ipsum",
- "comments_href": "http://localhost:5050/articles/1/comments",
- "latest_comment_href": "http://localhost:5050/articles/1/comments/latest"
- }
- // http://localhost:5050/articles/1/comments/1
- {
- "_type": "Comment",
- "href": "http://localhost:5050/articles/1/comments/1",
- "author": "Paul",
- "text": "This is the first comment on article 1",
- "article_href": "http://localhost:5050/articles/1"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement