/v1/method
An HTTP method (safe/idempotent), or all
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
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_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"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
}