Localhost request debugger
CORS Header Analyzer
Compare a browser request with the response headers that decide whether JavaScript may read it.
Analysis is local. This page does not fetch the target URL.
CORS verdict
Waiting for response headersCORS failure checklist
Confirm it is actually cross-origin
Scheme, hostname, and port all belong to the origin. Changing only
5173to3000makes a different origin.Inspect the OPTIONS request
If the browser sends a preflight, the preflight response must approve the intended method and non-safelisted request headers.
Configure the API, not the frontend response
CORS permission is returned by the server being called. Adding response headers in frontend JavaScript cannot repair a rejected browser response.
Keep credentials and wildcard origins separate
Credentialed CORS requests need an explicit allowed origin and credential permission; a wildcard origin is not valid for that case.
Reference
The analyzer follows the browser CORS model defined by the WHATWG Fetch Standard. Server frameworks may expose these settings under different option names.