![javascript - Chrome could access cross domain API, although there is an error in the Console, why? - Stack Overflow javascript - Chrome could access cross domain API, although there is an error in the Console, why? - Stack Overflow](https://i.stack.imgur.com/ke3Vx.jpg)
javascript - Chrome could access cross domain API, although there is an error in the Console, why? - Stack Overflow
![has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.](https://dev-to-uploads.s3.amazonaws.com/i/7alk3xds8fl4v34wig0k.jpg)
has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
![javascript - XMLHttpRequest Cross origin requests are only supported for protocol schemes in turn server - Stack Overflow javascript - XMLHttpRequest Cross origin requests are only supported for protocol schemes in turn server - Stack Overflow](https://i.stack.imgur.com/tzsG5.png)
javascript - XMLHttpRequest Cross origin requests are only supported for protocol schemes in turn server - Stack Overflow
![How to get rid of: “No 'Access-Control-Allow-Origin' header is present on the requested resource.” in Chrome browser. | SAP Blogs How to get rid of: “No 'Access-Control-Allow-Origin' header is present on the requested resource.” in Chrome browser. | SAP Blogs](https://blogs.sap.com/wp-content/uploads/2015/02/actualoutput_649648.jpg)