← Back to Catalog
🌐Web4 min

What Is a CORS Preflight?

Sometimes your browser sends an extra OPTIONS request before your real request. That's a CORS preflight — a security check.

Beat 1 of 5

CORS recap

CORS (Cross-Origin Resource Sharing) protects you from malicious sites. By default, JavaScript on one domain can't access APIs on another domain — unless the API explicitly allows it.