guides: fix typo in python guide (#21208)

Signed-off-by: Craig <craig.osterhout@docker.com>
This commit is contained in:
Craig Osterhout 2024-10-22 15:54:55 -07:00 committed by GitHub
parent befd9b0b7b
commit 04fabb3c6d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -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'
``` ```