𝗖𝗿𝗼𝘀𝘀-𝗢𝗿𝗶𝗴𝗶𝗻 𝗥𝗲𝘀𝗼𝘂𝗿𝗰𝗲 𝗦𝗵𝗮𝗿𝗶𝗻𝗴 (𝗖𝗢𝗥𝗦)
CORS is a security mechanism enforced by web browsers to restrict cross-origin HTTP requests
.
CORS is a mechanism implemented by browsers that block websites
to request data from some other URL.
When a browser makes a request, it adds an origin header
to the request message.
If it goes to the server of the exact origin, it is allowed by the browser; if it does not, the browser blocks it.
gets error like Cross-Origin Request Blocked