From 0056623a58dc1f873733faaeebfc6094db39c0e6 Mon Sep 17 00:00:00 2001 From: seungwonleee Date: Sat, 6 Nov 2021 02:29:30 +0900 Subject: [PATCH 1/2] Fix typo Language-specific guides / Nodejs / Run containers --- language/nodejs/run-containers.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/language/nodejs/run-containers.md b/language/nodejs/run-containers.md index d4bf853907..4decfc566d 100644 --- a/language/nodejs/run-containers.md +++ b/language/nodejs/run-containers.md @@ -81,9 +81,7 @@ Again, let’s make sure that our container is running properly. Run the same cu $ curl --request POST \ --url http://localhost:8000/test \ --header 'content-type: application/json' \ - --data '{ - "msg": "testing" -}' + --data '{"msg": "testing"}' {"code":"success","payload":[{"msg":"testing","id":"dc0e2c2b-793d-433c-8645-b3a553ea26de","createDate":"2020-09-01T17:36:09.897Z"}]} ``` From 5131e29bfd075e3c5f92fe3963bd6725b749ea44 Mon Sep 17 00:00:00 2001 From: seungwonleee Date: Sat, 6 Nov 2021 02:30:41 +0900 Subject: [PATCH 2/2] Fix typo Language-specific guides / Nodejs / Run your tests --- language/nodejs/run-tests.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/language/nodejs/run-tests.md b/language/nodejs/run-tests.md index e4a7cce034..d5b5122b45 100644 --- a/language/nodejs/run-tests.md +++ b/language/nodejs/run-tests.md @@ -49,9 +49,7 @@ Now let’s test our application by POSTing a JSON payload and then make an HTTP $ curl --request POST \ --url http://localhost:8000/test \ --header 'content-type: application/json' \ - --data '{ - "msg": "testing" -}' + --data '{"msg": "testing"}' ``` Now, perform a GET request to the same endpoint to make sure our JSON payload was saved and retrieved correctly. The “id” and “createDate” will be different for you.