Forest Web CORS Preflight Inspector is a paid API for AI agents from http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-20).
Sends a single CORS OPTIONS preflight request to a public URL and normalizes the Access-Control-Allow-* response into structured origin, method, and header permission decisions.
Machine-readable contract for active Forest paid capabilities. Unsigned paid calls return HTTP 402 with a PAYMENT-REQUIRED x402 challenge.
Returns a normalized breakdown of the CORS preflight response: whether the target URL allows the specified origin, which HTTP methods are permitted, which request headers are allowed, and the raw Access-Control-Allow-* header values observed. The result reflects only what the server declared in the OPTIONS response at the exact URL — no redirects are followed and no cookies or credentials are sent.
POSThttps://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/cors/preflight?utm_source=zero.xyzChoose this endpoint when you need a lightweight, non-invasive check of a URL's CORS policy before attempting a browser-side cross-origin fetch. It is ideal for pre-integration audits, debugging CORS errors, or validating that a third-party API will accept requests from a specific origin with particular methods and headers. It is not suitable when you need to follow redirects, test credentialed (cookie/Authorization) requests, verify actual resource responses, or execute JavaScript-dependent behavior.
| Field | Type | Description |
|---|---|---|
| url | string | Public HTTP(S) URL to inspect, resolve, or compare. |
| origin | string | Public origin value used to scope this lookup. |
| requested_method | string | Public requested method value used to scope this lookup. |
| requested_headers | array | Public requested headers value used to scope this lookup. |
{
"type": "json",
"example": {
"ok": true,
"data": {
"scope": "observed_noncredentialed_cors_preflight_only",
"status": 100,
"blockers": [],
"warnings": [],
"final_url": "example",
"allowed_origin": "example",
"method_allowed": false,
"origin_allowed": false,
"redirect_count": 0,
"allowed_headers": [],
"allowed_methods": [],
"headers_allowed": false,
"preflight_passes": false,
"credentials_allowed": false,
"provider_request_count": 1
},
"meta": {
"cache": "miss",
"provider": "safe-http-options",
"checked_at": "2026-01-01T00:00:00.000Z",
"duration_ms": 0
},
"version": "1",
"capability": "cors.preflight"
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"