Over a million developers have joined DZone.

Need to Test a Service That Doesn’t Use CORS? There’s a Plugin for That

DZone's Guide to

Need to Test a Service That Doesn’t Use CORS? There’s a Plugin for That

· Performance Zone ·
Free Resource

Learn how error monitoring with Sentry closes the gap between the product team and your customers. With Sentry, you can focus on what you do best: building and scaling software that makes your users’ lives better.

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.

What’s the best way to boost the efficiency of your product team and ship with confidence? Check out this ebook to learn how Sentry's real-time error monitoring helps developers stay in their workflow to fix bugs before the user even knows there’s a problem.


Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}