Merge pull request #16122 from craig-osterhout/issue-16096

Fix typo in node.js guide
This commit is contained in:
Sebastiaan van Stijn 2022-11-09 12:18:35 +01:00 committed by GitHub
commit 09b8b64bcb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -26,10 +26,10 @@ $ docker run node-docker
When you run this command, youll notice that you were not returned to the command prompt. This is because our application is a REST server and will run in a loop waiting for incoming requests without returning control back to the OS until we stop the container.
Lets open a new terminal then make a GET request to the server using the curl command.
Lets open a new terminal then make a POST request to the server using the curl command.
```console
$ curl --request GET \
$ curl --request POST \
--url http://localhost:8000/test \
--header 'content-type: application/json' \
--data '{"msg": "testing"}'