Probe a URL for HTTP 402 support
probe_402_supportProbe a public URL to detect an HTTP 402 payment challenge and report its scheme and decoded terms. Redirects are reported, not followed; private addresses refused; no payment made.
Instructions
Make one GET (or HEAD) request to a public URL and report whether it answers with an HTTP 402 payment challenge, which scheme, and the decoded terms. Redirects are reported, not followed. Private and local addresses are refused. Never pays anything.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Absolute http(s) URL of the endpoint to probe. | |
| method | No | Defaults to GET. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| error | No | ||
| status | No | ||
| schemes | Yes | ||
| reachable | Yes | ||
| supports_402 | Yes |