CORS Tester

Server-Assisted
Privacy: Server-Assisted. This tool calls /api/* for CORS proxies or TLS inspection. Payloads are not retained.

Send the preflight and request a browser would send from another origin and check the answers against the Fetch standard: allowed origin, credentials, methods, headers, max-age and exposed headers.

Test whether an API lets a web page on another origin call it. The tester sends the preflight and the actual request a browser would send, through the stbox proxy (a page can't set its own Origin), and checks the answers against the Fetch standard's CORS rules.

This sends a real PUTrequest to the URL (without cookies or tokens). Use a URL where that's harmless, or a test endpoint.

This request needs a preflight (non-simple method, header or Content-Type).

Why do CORS errors happen?

Browsers only let a page read a response from another origin if the server says so with Access-Control-* headers. Requests with non-simple methods, headers or content types first send an OPTIONS preflight, and both answers are checked exactly as the Fetch standard describes.

Common mistakes are a * origin with credentials, Authorization missing from Access-Control-Allow-Headers (a * never covers it), a redirected preflight, and missing Vary: Origin. This tester sends the same requests a browser would and explains each check.

How to use this tool

  1. Enter the API URL, the page's origin, the method, the headers the page sends and whether it sends cookies.
  2. Click Test CORS to send the preflight (when needed) and the actual request through the stbox proxy.
  3. Read the findings for each exchange and open the headers to compare.

Frequently asked questions

Why does it go through the stbox proxy?

A web page can't set the Origin header or send a custom preflight itself. The proxy sends them to public URLs only, follows no redirects and keeps nothing.

Does it send my cookies or tokens?

No. It only sends Origin and the Access-Control-Request-* headers; the credentials option changes how the answer is checked.

Why is Authorization not covered by Access-Control-Allow-Headers: *?

The Fetch standard excludes Authorization from the wildcard, so it must always be listed by name.

Is my data sent to a server?

CORS Tester is hybrid: browser-first where possible, with short-lived server assistance (for example CORS proxies or TLS inspection) processed in memory and not retained as payload logs.