Which mechanism does the browser use to determine if a cross-origin request requires a preflight OPTIONS request?
Key points
- Simple requests do not trigger preflight.
- Custom headers force a preflight check.
- Preflight uses the OPTIONS HTTP method.
- CORS policy is enforced by the browser.
Ready to go further?
