跨域访问问题 CORS

2017-03-15  本文已影响0人  RageYourDream_

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.

上一篇 下一篇

猜你喜欢

热点阅读