Skip to content
GET /v1/method

An HTTP method (safe/idempotent), or all

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/http-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/http-api/v1/method" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/http-api/v1/method", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/http-api/v1/method");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/http-api/v1/method",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "safe": true,
        "method": "GET",
        "reference": "[RFC9110, Section 9.3.1]",
        "idempotent": true
    },
    "meta": {
        "timestamp": "2026-05-31T05:48:02.315Z",
        "request_id": "1000c756-0a59-4095-8d52-cd9240d258a5"
    },
    "status": "ok",
    "message": "Method retrieved",
    "success": true
}