Skip to content
Tools

CORS tester

Send a cross-origin request and see which CORS headers come back.

CORS Request Tester

curl command

curl -X GET "https://api.github.com" -H "Origin: "

Response

Send a request to test CORS

Try testing with different origins to see how CORS behaves

How to use

  1. Enter any API endpoint URL you want to test.
  2. Select the HTTP method (GET, POST, PUT, DELETE, OPTIONS).
  3. Click “Test CORS” to make a cross-origin request.
  4. View the CORS headers and response data.
  5. See whether the server has CORS configured properly.

Common CORS headers

Access-Control-Allow-Origin
Which origins can access the resource
Access-Control-Allow-Methods
Allowed HTTP methods
Access-Control-Allow-Headers
Allowed request headers
Access-Control-Allow-Credentials
Whether credentials are allowed