API Testing · Junior · Question 47 of 75
Why does a request work in Postman but fail with a CORS error in the browser?
- 1The browser always uses a different API than Postman
- 2Postman sends requests through a hidden secure proxy
- 3CORS is enforced by browsers, not by Postman or curl
Show the answer
Correct answer: CORS is enforced by browsers, not by Postman or curl
Explanation
Browsers block cross-origin responses unless the server sends the right CORS headers. It's a server configuration issue, not a client bug.