summaryrefslogtreecommitdiffstats
path: root/docs/src/contributing_websocket_http_api.md
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2020-01-23 11:21:21 -0500
committerDessalines <tyhou13@gmx.com>2020-01-23 11:21:21 -0500
commitb45c83682c187737b092080e83ba741c39cfa695 (patch)
tree29155aea78177b96b36d9f2370b8a331e7fd456b /docs/src/contributing_websocket_http_api.md
parent55a144699e0f5c92dd004eaca7f36bd73b9a0c1d (diff)
Fixing http curl POST docs.
Diffstat (limited to 'docs/src/contributing_websocket_http_api.md')
-rw-r--r--docs/src/contributing_websocket_http_api.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/src/contributing_websocket_http_api.md b/docs/src/contributing_websocket_http_api.md
index eea77e8b..9e87d4fa 100644
--- a/docs/src/contributing_websocket_http_api.md
+++ b/docs/src/contributing_websocket_http_api.md
@@ -235,10 +235,10 @@ curl -i -H \
"Content-Type: application/json" \
-X POST \
-d '{
- comment_id: X,
- pub post_id: X,
- score: X,
- auth: X,
+ "comment_id": X,
+ "post_id": X,
+ "score": X,
+ "auth": "..."
}' \
/comment/like
```