Access to XMLHttpRequest at xxx from origin yyy has been blocked by CORS policy: No 'Access-Contr...

when issue $http.get request using vue-axios-plugin in Vue.


Add 

res.setHeader("Access-Control-Allow-Origin", "*");

in xxx API.

你可能感兴趣的:(Access to XMLHttpRequest at xxx from origin yyy has been blocked by CORS policy: No 'Access-Contr...)