Check CORS
check_corsRead-only CORS diagnostic. Sends an OPTIONS preflight (Origin plus Access-Control-Request-Method set to method) and one GET/HEAD request with an Origin header, then returns the Access-Control-Allow-* headers and an allowed/blocked verdict with reasons. The target is only ever sent OPTIONS, GET or HEAD; method is just the method being evaluated. Follows the Fetch standard CORS protocol (https://fetch.spec.whatwg.org/#http-cors-protocol).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Absolute http(s) URL. Private, loopback and cloud-metadata addresses are rejected. | |
| method | No | HTTP method the browser would use (default GET). It is only evaluated against the preflight response and is never sent to the target. | GET |
| origin | Yes | Browser origin making the request, e.g. https://app.example.com | |
| requestHeaders | No | Comma-separated custom request headers, e.g. "authorization, content-type" |