DEV Community

Discussion on: Understanding CORS

Collapse
 
roshanraj profile image
Roshan Raj

Great article.
But I have a question, does doing this mean I will not be able to hit those API from Postman anymore?
Since the backend is now only accepting request from the specified frontend origin?

Collapse
 
elijahtrillionz profile image
Elijah Trillionz

Hello, from my experience if you are using the postman's website, it will be blocked by CORS policy. So postman recommends downloading their app which is not restricted by the CORS policy.
Like he has stated, it is enforced by modern WEB BROWSERS.