blob: 85d50a1b8661e8c3b9ef20658f2ee6e5d3290b7b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
POST http://localhost:5000/api/comments?path=/what/a/good/post
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"
}
|