forked from nutomic/lemmy
Fixing http curl POST docs.
This commit is contained in:
parent
7fdcae4f07
commit
69389f61c9
1 changed files with 4 additions and 4 deletions
8
docs/src/contributing_websocket_http_api.md
vendored
8
docs/src/contributing_websocket_http_api.md
vendored
|
@ -235,10 +235,10 @@ curl -i -H \
|
||||||
"Content-Type: application/json" \
|
"Content-Type: application/json" \
|
||||||
-X POST \
|
-X POST \
|
||||||
-d '{
|
-d '{
|
||||||
comment_id: X,
|
"comment_id": X,
|
||||||
pub post_id: X,
|
"post_id": X,
|
||||||
score: X,
|
"score": X,
|
||||||
auth: X,
|
"auth": "..."
|
||||||
}' \
|
}' \
|
||||||
/comment/like
|
/comment/like
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue