Aller au contenu
GET /v1/header

A header field, search, or all

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/http-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/http-api/v1/header" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/http-api/v1/header", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/http-api/v1/header");
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/header",
    headers={"x-oanor-key": "oanor_test_..."}
)

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "name": "Content-Type",
        "status": "permanent",
        "reference": "[RFC 9110, Section 8.3: HTTP Semantics]",
        "structured_type": null
    },
    "meta": {
        "timestamp": "2026-05-31T05:48:02.245Z",
        "request_id": "6b848203-dd1c-4e7a-874c-58ec00eef7be"
    },
    "status": "ok",
    "message": "Header field retrieved",
    "success": true
}