Cross-Origin Resource Sharing
CORS stands for Cross-Origin Resource Sharing, and for security reasons, browsers restrict cross-origin HTTP requests initiated within scripts. It is a security mechanism implemented by browsers to restrict cross-origin HTTP requests initiated within scripts, allowing servers to specify which origins are permitted to access their resources. CORS is a giant hack to mitigate legacy mistakes, but none of its protections are actually sufficient to solve the intended problem.
CORS Error
Add headers that allow the requesting client origin, use CORS-related middleware, or resolve with a proxy server