summaryrefslogtreecommitdiff
path: root/requests.http
blob: 6f76bbbbd5a5cdb5cebc466e9f15278e9442cc83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
POST http://localhost:5000/what/a/good/post/comments
Content-Type: application/json
{
  "email": "awesome@example.org",
  "content": "This is a comment. Hey man, sorry but this is\\na bad not word ok? No hard feelings.",
  "domain": "localhost:5000"
}

POST http://localhost:5000/comments/1/replies
Content-Type: application/json
{
  "email": "awesome@example.org",
  "content": "This is a reply to a comment",
  "author": "Your secret fan"
}