Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

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

Built by operators for operators, the Sensu monitoring event pipeline empowers businesses to automate their monitoring workflows and gain deep visibility into their multi-cloud environments. Get started for free today.

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.

snap

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.

Download our guide to mitigating alert fatigue, with real-world tips on automating remediation and triage from an IT veteran.

Topics:

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}