CORS Test Tool
Test CORS headers for a given URL
Test CORS
Enter an API endpoint to test its CORS configuration
About CORS
CORS (Cross-Origin Resource Sharing) is a security feature implemented by browsers to control how web pages can request resources from different domains.
CORS Headers:
- Access-Control-Allow-Origin
- Access-Control-Allow-Methods
- Access-Control-Allow-Headers
- Access-Control-Allow-Credentials
- Access-Control-Max-Age
Common Issues:
- Missing CORS headers
- Restricted origins
- Method not allowed
- Preflight request failures
- Credential issues
How It Works
- Browser sends preflight OPTIONS request
- Server responds with CORS headers
- Browser checks if origin is allowed
- If allowed, actual request is sent
- Server responds with data and CORS headers