mirror of https://github.com/docker/docs.git
POST request changed to GET request (#16022)
This commit is contained in:
parent
4ed408c90b
commit
38a6523d2d
|
@ -29,7 +29,7 @@ When you run this command, you’ll notice that you were not returned to the com
|
|||
Let’s open a new terminal then make a GET request to the server using the curl command.
|
||||
|
||||
```console
|
||||
$ curl --request POST \
|
||||
$ curl --request GET \
|
||||
--url http://localhost:8000/test \
|
||||
--header 'content-type: application/json' \
|
||||
--data '{"msg": "testing"}'
|
||||
|
|
Loading…
Reference in New Issue