Check CORS
check_corsSimulate a browser CORS preflight (OPTIONS) and the actual request from a given origin, returning the Access-Control-Allow-* headers and an allowed/blocked verdict with reasons.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Absolute http(s) URL. Private, loopback and cloud-metadata addresses are rejected. | |
| method | No | 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" |