Skip to content

Glossary: Building APIs with FastAPI

Middleware

Code that runs around every request and response. CORSMiddleware is the example, adding CORS headers.

Where the book teaches it

Related terms

CORS