Skip to content

sohaiba/publish

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hello FastAPI

Read Pages 27-32 FastAPI Textbook

Start Uvicorn with the command line:

uvicorn hello:app --reload

Open in Browser:

http://127.0.0.1:8000/hi

Test with requests:

python test_requests.py

Test with HTTPie (pronounced aitch-tee-tee-pie):

http localhost:8000/hi

Test with HTTPie, printing only the response body:

http -b localhost:8000/hi

Test with HTTPie and get everything:

http -v localhost:8000/hi

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages