mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-23 12:51:18 +00:00
Fixing http curl POST docs.
This commit is contained in:
parent
55a144699e
commit
b45c83682c
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