How to Fix “No ‘Access-Control-Allow-Origin’ Header Is Present on the Requested Resource”?
“No ‘Access-Control-Allow-Origin’ Header Is Present on the Requested Resource” error usually occurs while making an HTTP request using JavaScript on a web page to an URL of a different domain.
This is a security feature and cannot be fixed on the web page that initiates the request. The HTTP server on the target domain has to be configured to allow cross-domain requests. The process will vary depending on the languages and frameworks used for developing the server.
There are some browser extensions to disable this for testing purposes, but it is not recommended to ship this to production and expect all users to install such extensions. If the developers of the target HTTP server cannot be contacted to resolve this issue, use a proxy server to relay the requests from a non-browser environment.