Web Security · Junior · Question 42 of 75

What is a CORS preflight request?

Explanation

Requests with methods like PUT or headers like Content-Type: application/json trigger a preflight. If the server's answer doesn't allow it, the real request isn't sent.

Further reading

Problem with a question

Web Security · Junior · question 42

Test yourself

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

Take this quiz