]> Untitled Git - lemmy.git/commitdiff
Fixing http curl POST docs.
authorDessalines <tyhou13@gmx.com>
Thu, 23 Jan 2020 16:21:21 +0000 (11:21 -0500)
committerDessalines <tyhou13@gmx.com>
Thu, 23 Jan 2020 16:21:21 +0000 (11:21 -0500)
docs/src/contributing_websocket_http_api.md

index eea77e8bb757b8ae1c0d014b26716636c0a5ced3..9e87d4faa1660a3761e85c061f33ca228c77b958 100644 (file)
@@ -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
 ```