Need to test a service that doesn't use CORS? There's a plugin for that.

This post is more than 2 years old.

Just a quick note - if you are trying to test a service that does not use CORS and want to hit via your desktop browser, there is a Chrome extension that let's you enable CORS for any particular URL you want to test. This is great for people using their desktop browser to prototype hybrid mobile applications. The plugin is called "Allow-Control-Allow-Origin: *" (rolls off the tongue, doesn't it?) and can be downloaded here.


Once installed, it adds a pretty little icon to your Chrome browser where you can toggle on/off the feature at will. Note that this feature is also available via a command-line switch, but I find a simple button a heck of a lot easier to use.

Raymond Camden's Picture

About Raymond Camden

Raymond is a developer advocate for HERE Technologies. He focuses on JavaScript, serverless and enterprise cat demos. If you like this article, please consider visiting my Amazon Wishlist or donating via PayPal to show your support. You can even buy me a coffee!

Lafayette, LA