mirror of https://github.com/docker/docs.git
guides: fix typo in python guide (#21208)
Signed-off-by: Craig <craig.osterhout@docker.com>
This commit is contained in:
parent
befd9b0b7b
commit
04fabb3c6d
|
@ -427,7 +427,7 @@ Let's create an object with a post method
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ curl -X 'POST' \
|
$ curl -X 'POST' \
|
||||||
'http://0.0.0.0:8001/heroes/' \
|
'http://localhost:8001/heroes/' \
|
||||||
-H 'accept: application/json' \
|
-H 'accept: application/json' \
|
||||||
-H 'Content-Type: application/json' \
|
-H 'Content-Type: application/json' \
|
||||||
-d '{
|
-d '{
|
||||||
|
@ -453,7 +453,7 @@ Let's make a get request with the next curl command:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
curl -X 'GET' \
|
curl -X 'GET' \
|
||||||
'http://0.0.0.0:8001/heroes/' \
|
'http://localhost:8001/heroes/' \
|
||||||
-H 'accept: application/json'
|
-H 'accept: application/json'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue