Node.js · Junior · Question 66 of 75

What is CORS, and where is it enforced?

Explanation

CORS is enforced by browsers. Requests from curl or another server are not affected. In Express it's usually set up with the cors middleware.

Further reading

Problem with a question

Node.js · Junior · question 66

Test yourself

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

Take this quiz