From: Dessalines Date: Thu, 23 Jan 2020 16:21:21 +0000 (-0500) Subject: Fixing http curl POST docs. X-Git-Url: http://these/git/?a=commitdiff_plain;h=b45c83682c187737b092080e83ba741c39cfa695;p=lemmy.git Fixing http curl POST docs. --- 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 ```