doc: clarify the description of NodeJS guides

This commit is contained in:
Anh Tran 2021-03-24 23:59:53 +07:00 committed by GitHub
parent 654c0e613a
commit 8c5aeac4a3
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,7 +26,7 @@ $ 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 return control back to the OS until we stop the container.
Lets make a GET request to the server using the curl command.
Lets open a new terminal then make a GET request to the server using the curl command.
```shell
$ curl --request POST \
@ -50,7 +50,7 @@ Start the container and expose port 8000 to port 8000 on the host.
$ docker run --publish 8000:8000 node-docker
```
Now lets rerun the curl command from above.
Now lets rerun the curl command from above. Remember to open a new terminal.
```shell
$ curl --request POST \