CORS Tester
Check whether an API’s response headers permit your frontend to read a response. See the CORS decision separately from the API’s HTTP status.
The remote probe runs through Beeceptor’s server. It simulates an origin and credentials mode; it cannot use your browser’s API session cookies or reach your localhost.
Test result
OPTIONS response headers
Actual response headers
This is a header-policy prediction. Redirect chains, cached preflight, browser-specific rules, network restrictions, and cookie policy can change the result in your app. Verify the request from your real frontend.
Checklist for a readable CORS response
- Check whether the actual method and request headers require preflight. Credentials alone do not.
- If preflight is required, OPTIONS must return a 2xx status, origin permission, and any required method/header permissions.
- The actual response needs its own Access-Control-Allow-Origin, including on 401, 404, or 500 responses you intend to expose.
- With credentials mode include, return the exact origin and Access-Control-Allow-Credentials: true.
- Use Access-Control-Allow-Headers for request headers. Use Access-Control-Expose-Headers for extra response headers JavaScript needs to read.
- Access-Control-Max-Age can cache preflight permission. It is optional and browsers limit its effective duration.
What can this test prove?
A server probe can inspect response headers for a simulated origin. Local analysis can evaluate headers you already captured. The current remote service probes OPTIONS even for simple requests and may stop before capturing the actual response. An incomplete capture is not evidence that a browser would block a simple request. Neither mode proves that your browser can connect or that its cookies will be sent. An HTTP success alone does not prove CORS permission.
For the complete rules, see the Fetch Standard. Start with our request and preflight guide for a simpler explanation.