← capabilities

Cors Preflight

Send exactly one bounded non-credentialed browser-style CORS OPTIONS preflight to the supplied public URL and normalize the observed Access-Control-Allow-* response into origin, method and header decisions. Redirects are not followed, so the result describes the exact resource URL. Forest does not send cookies or Authorization, invoke the requested resource afterward, run JavaScript, or guarantee browser/runtime success beyond the observed response.

$0.002 / callPOST /cors/preflightx402 · Base

Use when

Input example

{ "url": "https://api.example.com/v1/items", "origin": "https://app.example.com", "requested_method": "POST", "requested_headers": [ "content-type", "x-request-id" ] }

Canonical paid endpoint

https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/cors/preflight

OpenAPI contract →