Qadeer Qadeer - 3 months ago 15
Ajax Question

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://gellio.telemosolutions.net/gellio/OsmosService.svc/OrderPlacement?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://osmos.telemosolutions.net/Osmos/OsmosService.svc/OrderPlacement/?ord…%5B1%5D%5BItem_Id%5D=2&order%5B1%5D%5BQty%5D=1&order%5B1%5D%5Bprice%5D=6.5 404 (Not Found)

Answer

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