System Design · Junior · Question 53 of 75
What is CORS?
- ✓Correct answer: A browser mechanism where a server explicitly allows pages from other origins to read its responses
- 2A server-side firewall
- 3A way to compress responses
Explanation
Without CORS headers, the same-origin policy blocks reading cross-origin responses in the browser. Server-to-server calls aren't affected.