From 3ce7351049b0662dc10f1acc0b8c1f7011410f33 Mon Sep 17 00:00:00 2001 From: linsihao7788 <46431972+linsihao7788@users.noreply.github.com> Date: Wed, 9 Dec 2020 11:22:01 +0800 Subject: [PATCH] Fix JSON in rest-endpoints.md (#110) --- docs/api/rest-endpoints.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/api/rest-endpoints.md b/docs/api/rest-endpoints.md index ac47a9398e..36acc54ef1 100644 --- a/docs/api/rest-endpoints.md +++ b/docs/api/rest-endpoints.md @@ -16,8 +16,8 @@ Request body ``` { - username: "janedoe@example.com" - passsword: "VArCjNW7CfsxGp67" + "username": "janedoe@example.com", + "passsword": "VArCjNW7CfsxGp67" } ``` @@ -160,8 +160,8 @@ Authenticates the user with the specified credentials. Use the token returned fr ``` { - username: "janedoe@example.com" - passsword: "VArCjNW7CfsxGp67" + "username": "janedoe@example.com", + "passsword": "VArCjNW7CfsxGp67" } ```