AnotherExample.com The Second Origin

CORS Playground

Run the same request shape against a known-good second origin and a target. Compare what you expected with what the browser can read.

Configure a request

Start with a test case or use your own endpoint.

The Playground sends requests from this page. To test from your app’s origin, use the CORS Debugger.
Headers, body, and redirects

A Content-Type in request headers overrides the menu. Control requests use sample header values and a sample body.

Checking request shape…

Use test data. Run write methods only on endpoints you’re willing to modify.

Compare the results

Run a comparison to see the control and target side by side.

Known-good control

Ready

cors.anotherexample.com

The same request shape on AnotherExample’s second origin.

Target

Ready

Your selected endpoint

Your expected outcome beside what the browser actually sees.

Reproduce from another origin

Run this code in DevTools on the page that normally sends the request. The browser uses that page’s origin.