allow cross origin access

The easy way is to just add the extension in google chrome to allow access using CORS.

(https://chrome.google.com/webstore/detail/allow-control-allow-origi/nlfbmbojpeacfghkpbjhddihlkkiljbi?hl=en-US)

Just enable this extension whenever you want allow access to no ‘access-control-allow-origin’ header request.

Or

In Windows, paste this command in run window:

chrome.exe --user-data-dir="C:/Chrome dev session" --disable-web-security

This will open a new chrome browser which allow access to no ‘access-control-allow-origin’ header request.