CORS Tester

Test Cross-Origin Resource Sharing (CORS) for any API endpoint directly in your browser

How to use:

  • Enter any API endpoint URL you want to test
  • Select the HTTP method (GET, POST, PUT, DELETE, OPTIONS)
  • Click “Test CORS” to make a cross-origin request
  • View CORS headers and response data
  • See if the server properly configured CORS settings

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

Common CORS Headers:

  • Access-Control-Allow-Origin: Specifies which origins can access the resource
  • Access-Control-Allow-Methods: Lists allowed HTTP methods
  • Access-Control-Allow-Headers: Lists allowed request headers
  • Access-Control-Allow-Credentials: Indicates if credentials are allowed