- Create and activate a virtual environment.
pip install -r requirements.txtuvicorn main:app --reload- Visit
http://localhost:8000/ping. Use a REST client to POST to/echo.
GET /ping->{"status":"ok"}POST /echowith JSON{ "message": "hello" }-> echoes back the message