Fix typo in FastAPI integration doc
This commit is contained in:
parent
e58ab1b8f6
commit
12bd069026
1 changed files with 0 additions and 1 deletions
|
@ -117,7 +117,6 @@ Next, start the server:
|
||||||
|
|
||||||
Then, in another shell, create a customer:
|
Then, in another shell, create a customer:
|
||||||
|
|
||||||
$ curl -X POST -H 'Content-Length: 0' "http://localhost:8000/customer"
|
|
||||||
$ curl -X POST "http://localhost:8000/customer" -H 'Content-Type: application/json' -d '{"first_name":"Andrew","last_name":"Brookins","email":"a@example.com","age":"38","join_date":"2020
|
$ curl -X POST "http://localhost:8000/customer" -H 'Content-Type: application/json' -d '{"first_name":"Andrew","last_name":"Brookins","email":"a@example.com","age":"38","join_date":"2020
|
||||||
-01-02"}'
|
-01-02"}'
|
||||||
{"pk":"01FM2G8EP38AVMH7PMTAJ123TA","first_name":"Andrew","last_name":"Brookins","email":"a@example.com","join_date":"2020-01-02","age":38,"bio":""}
|
{"pk":"01FM2G8EP38AVMH7PMTAJ123TA","first_name":"Andrew","last_name":"Brookins","email":"a@example.com","join_date":"2020-01-02","age":38,"bio":""}
|
||||||
|
|
Loading…
Reference in a new issue