Skip to content

Commit 45025f7

Browse files
committed
docs: adding more example
1 parent b8a9d72 commit 45025f7

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ vercel dev
6262
or
6363

6464
```bash
65-
uvicorn main:app --host 0.0.0.0 --port 3000
65+
uvicorn main:app --host 0.0.0.0 --port 8000
6666
```
67-
Your FastApi application is now available at `http://localhost:3000`.
67+
Your FastApi application is now available at `http://localhost:8000`.
6868

6969
## One-Click Deploy
7070

test_index.http

+9
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,12 @@ GET http://127.0.0.1:8000/hello/User
99
Accept: application/json
1010

1111
###
12+
13+
POST /hello HTTP/1.1
14+
Host: 3000-hebertcisco-deploypytho-jd9aomhlkk8.ws-us89.gitpod.io
15+
Content-Type: application/json
16+
Content-Length: 28
17+
18+
{
19+
"message": "Fulano!"
20+
}

0 commit comments

Comments
 (0)