Skip to content

Glossary: Building APIs with FastAPI

Preflight

Also written: OPTIONS

The `OPTIONS` request a browser sends before a request like a POST with JSON, to ask permission under CORS. The CORS middleware answers it.

Where the book teaches it

Related terms

CORSOrigin