2073 Views
CORS allows us to break the same origin policy of the browser. It allows to load the resources from different origin. This will be useful when javascript trying to make API Call using XMLHttpRequest or fetch to different domain, it will be blocked by the browser due to same origin policy.
0 comments