API Design · Junior · Question 54 of 75

Why are CORS preflight OPTIONS requests sent?

Explanation

Servers can reduce preflights with Access-Control-Max-Age, which lets browsers cache the answer.

Further reading

Problem with a question

API Design · Junior · question 54

Test yourself

Take the API Design · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz