From b45c83682c187737b092080e83ba741c39cfa695 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Thu, 23 Jan 2020 11:21:21 -0500 Subject: [PATCH] Fixing http curl POST docs. --- docs/src/contributing_websocket_http_api.md | 8 ++++---- 1 file 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 ``` -- 2.44.1