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
- 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 the CORS headers and response data.
- 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