cors_checker
Read-only
Would a browser on this origin be allowed to read this URL? Verdict allowed | blocked | unknown, the reason, and the header to add. Only GET and HEAD are really sent: other methods measure the preflight alone. Many origins at once: cors_test.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Full URL to test, e.g. https://api.example.com/resource | |
| method | No | Method the page uses (default: GET) | |
| origin | No | Origin of the calling page (default: https://yourdomain.com) | |
| credentials | No | True for fetch with credentials: "include" | |
| request_headers | No | Headers the page sets, e.g. ["Authorization", "Content-Type: application/json"]. Names only are sent. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fix | No | ||
| checks | No | ||
| reason | No | ||
| status | No | ||
| verdict | No | ||
| preflight | No | ||
| corsHeaders | No | ||
| request_sent | No |