CORS Testing Tool
- URL Input:
- A text box for users to input the API URL they want to test.
- HTTP Method Selection:
- Dropdown to select methods like GET, POST, PUT, etc.
- Custom Headers:
- Allow users to add headers like Authorization, Content-Type, etc.
- Preflight Request Option:
- Simulate OPTIONS requests to test preflight responses.
- Response Display:
- Show response headers, status codes, and body.
- CORS Analysis:
- Analyze headers like Access-Control-Allow-Origin, Access-Control-Allow-Methods, and Access-Control-Allow-Headers.
- Error Explanation:
- Provide insights into common CORS errors (e.g., missing headers, mismatched origins).
- History:
- Save recent tests for quick re-testing.