Skip to content

conao3-playground/python-uvicorn-echo-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-uvicorn-echo-server

Usage

Run HTTP echo server.

poetry install
poetry run uvicorn uvicorn_echo_server.__main__:app --reload

Then, you can send HTTP request to http://localhost:8000 and get the same response.

$ curl localhost:8000 -d 'hello'
hello

$ curl localhost:8000 -d 'python uvicorn echo server'
python uvicorn echo server

If you send HTTP request without body, you get no body response.

$ curl localhost:8000
no body

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages