API Design

CORS

/kɔːz/

Definition

Cross-Origin Resource Sharing — browser mechanism restricting API calls to different domains unless the server allows them.

Example in context

"The browser blocks the fetch because the API doesn't include Access-Control-Allow-Origin — add the CORS header."

Practice this term

Master CORS in context by working through exercises in the API Design module. You'll see the term used in real engineering scenarios with multiple-choice, fill-in-the-blank, and matching drills.