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
- Enter the API URL, the page's origin, the method, the headers the page sends and whether it sends cookies.
- Click Test CORS to send the preflight (when needed) and the actual request through the stbox proxy.
- 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.