fastapiEasy Playground

Modern async API framework with automatic OpenAPI docs and Pydantic validation

Getting started with fastapiRun locally
Install
pip install fastapi[standard]
Python CodeRun locally
Expected Output
# Expected output shown below
# (Run locally with: fastapi)

fastapi is a third-party package. Modern async API framework with automatic OpenAPI docs and Pydantic validation. Install with: pip install fastapi[standard]

Challenge

Try modifying the code above to explore different behaviors. Can you extend the example to handle a new use case?