check_cors
Sends a preflight OPTIONS request to a URL and reports allowed origins, methods, headers, and security issues to resolve frontend API integration problems.
Instructions
Check if a URL has CORS headers configured. Sends a preflight OPTIONS request and reports allowed origins, methods, headers, and security issues. Useful for debugging frontend API integration problems.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL to check for CORS headers (e.g., "https://api.github.com") | |
| origin | No | Origin to send in preflight request (default: "https://example.com") |