简体   繁体   中英

How to bypass CORS in ajax call by any extension/add-ons

I have a WCF service which is showing cross origin problem. I want to test that service by bypassing the CORS issue, I have added an extension in chrome . but still issue exist. Is there any extension / add-ons / plugin to just test the service at my end by bypassing the cors issue.

Edit

after google chrome suggestion

framework7.js:14806 GET http://serviceslink?order=%5Bobject%20Object%5D&order=%5Bobject%20Object%5D 400 (Bad Request)a.ajax @ framework7.js:14806a.(anonymous function) @ framework7.js:14806(anonymous function) @ main.js:725i.triggerPageCallbacks @ framework7.js:14806i.pageInitCallback @ framework7.js:14806i.router._load @ framework7.js:14806(anonymous function) @ framework7.js:14806preprocess @ framework7.js:14806t @ framework7.js:14806(anonymous function) @ framework7.js:14806complete @ framework7.js:14806r @ framework7.js:14806g.onload @ framework7.js:14806
jquery-1.11.3.min.js:5 GET http://servicelink/?ord…%5B1%5D%5BItem_Id%5D=2&order%5B1%5D%5BQty%5D=1&order%5B1%5D%5Bprice%5D=6.5 404 (Not Found)

You have to run Chrome with --disable-web-security flag. But be advised advised about this bug

On Mac it'll be

open -a Google\\ Chrome --args --disable-web-security --user-data-dir

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM