NewPlus, API and MCP are live — run 175 tools from your own stack.
100www
Reference

CORS

Cross-Origin Resource Sharing, the rules that decide which scripts may read a response.

Reviewed by SteveLast reviewed Nov 28, 2026Report an error

Overview

Cross-Origin Resource Sharing, the rules that decide which scripts may read a response.

Compression, caching, CORS, cookies and security policy headers.

This term appears across 7 tools in the HTTP / Web category. Use the examples and checks below to see how it behaves in practice.

Where you see it

  • A simple cross-origin request is sent without a preflight.

    CORS Checker
  • Anything beyond simple — custom headers, methods other than GET/HEAD/POST with simple content types, or credentials — triggers an OPTIONS preflight.

    CORS Checker
  • Verify preflight caching after a configuration change.

    CORS Checker
  • The browser checks Access-Control-Allow-Origin (ACAO) on the response; if it does not match the page's origin or is not *, the script cannot read the body.

    CORS Checker
  • It is the view that browser DevTools hides behind normalisation and CORS restrictions.

    HTTP Header Checker
  • HTTP headers carry security policy, caching rules, content type, CORS permissions and timing data.

    HTTP Header Reference
  • The browser fetches it with CORS, so the host must allow cross-origin reads.

    Image Resizer

Examples

Try a live check with https://api.github.com using CORS Checker.

CORS Checker

How to use it

  1. Open CORS Checker and run it against a real target such as https://api.github.com.
  2. Compare the raw answer with the definition and the example above; do not rely on the summary alone.
  3. If the answer differs, use the troubleshooting checks below and confirm with a second source before changing anything.

What to watch for

  • A result applies only to the exact target, configuration and scope you tested; check sibling names, hosts or paths separately.
  • Cookie scope is set by Domain, Path, SameSite and Secure; a broad Domain makes CORS first-party across every subdomain.
  • A single check shows one target from one environment; confirm CORS with a second tool, device or source before you change anything.

Why it matters

Compression, caching, CORS, cookies and security policy headers.

7 tools use this term

HTTP / Web

Where to check it

Use Image Resizer, Image Cropper, HTTP Header Reference, WebSocket Reachability, HTTP Header Checker, CORS Checker, CSP / COOP / COEP Checker to inspect it directly. Each tool shows the raw result and its limitations.

HTTP / Web

Common problems and fixes

Why is the preflight cached for so long?

Access-Control-Max-Age controls it. A long value reduces requests but delays configuration changes; browsers also cap it.

From CORS Checker

Why does curl work but the browser block the response?

CORS is a browser rule. curl does not enforce it, so a missing or wrong ACAO is invisible there but fatal in a page.

From CORS Checker

Can ACAO be * with credentials?

No. The combination is invalid. With credentials, ACAO must be a specific origin and Access-Control-Allow-Credentials must be true.

From CORS Checker

Blocked or filtered: compare a public resolver and check firewall, proxy and content-filter rules.

Two checks disagree: compare timestamps, TTLs, resolver location and client configuration before choosing one.

Used in these tools

7 tools

Standards and references

Frequently asked questions

What is CORS?+

Cross-Origin Resource Sharing, the rules that decide which scripts may read a response.

How do I check CORS?+

Use Image Resizer, Image Cropper, HTTP Header Reference, WebSocket Reachability, HTTP Header Checker, CORS Checker, CSP / COOP / COEP Checker to inspect it directly. Each tool shows the raw result and its limitations.

Why does CORS matter?+

It affects how HTTP / Web results are read. Compression, caching, CORS, cookies and security policy headers.

What is a common mistake?+

Testing the wrong scope. A result for www does not automatically apply to the apex, a sibling host or another path.

How this page is written

Definitions are compiled from the 244 tool pages, checked against the standards below, and reviewed by Steve. Each term links to the tools where it is used.

Reviewed by SteveLast reviewed Nov 28, 2026Report an error