How does CORS work

Issue #1052 &#xA; You call an API from your web page and the browser refuses to hand you the response, even though the server replied with a 200 . The console shows a message about Access-Control-Allow-Origin . The request left your machine, reached the server, and came back, yet your code never sees the body. CORS is the mechanism deciding that, and it lives entirely in the browser. &#xA; The…