From c62436fd1874b4ba2c0b72d6c77780f9064814d7 Mon Sep 17 00:00:00 2001 From: craig-osterhout Date: Tue, 8 Nov 2022 14:33:15 -0800 Subject: [PATCH] fix typo --- language/nodejs/run-containers.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/language/nodejs/run-containers.md b/language/nodejs/run-containers.md index 251133a8af..da01200044 100644 --- a/language/nodejs/run-containers.md +++ b/language/nodejs/run-containers.md @@ -26,10 +26,10 @@ $ docker run node-docker When you run this command, you’ll 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. -Let’s open a new terminal then make a GET request to the server using the curl command. +Let’s 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"}'