Naar de inhoud
GET /v1/meta

Spec

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/mimeencode-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "name": "MIME Encoding API",
        "notes": "Quoted-Printable uses =XX hex escapes and =\\r\\n soft breaks; encoded-words wrap header text as =?UTF-8?Q?…?= or =?UTF-8?B?…?=. For base64/hex/URL/HTML encodings use a general encoding API. Nothing is stored.",
        "version": "v1",
        "endpoints": [
            {
                "path": "/v1/quoted-printable",
                "params": {
                    "mode": "encode (default) or decode",
                    "text": "the text or QP string (required)"
                },
                "returns": "the Quoted-Printable encoded or decoded text"
            },
            {
                "path": "/v1/encoded-word",
                "params": {
                    "mode": "encode (default) or decode",
                    "text": "the text or encoded-word string (required)",
                    "charset_encoding": "Q (default) or B — only for encode"
                },
                "returns": "the RFC 2047 encoded-word or the decoded text"
            },
            {
                "path": "/v1/meta",
                "params": [],
                "returns": "this document"
            }
        ],
        "description": "Email and MIME text encodings that general base64/hex toolkits leave out. The quoted-printable endpoint encodes or decodes Quoted-Printable (RFC 2045) — the Content-Transfer-Encoding that keeps mostly-ASCII text readable while escaping the rest as =XX, with soft line-wrapping at 76 columns. The encoded-word endpoint encodes or decodes RFC 2047 encoded-words (=?UTF-8?Q?…?= and =?UTF-8?B?…?=), the form used to put non-ASCII text into email Subject, From and other headers, in either Q (quoted-printable-style) or B (base64) form. UTF-8 throughout. Pure local, no key."
    },
    "meta": {
        "timestamp": "2026-06-03T17:42:18.753Z",
        "request_id": "a1e0a846-1e1c-4f3a-b75a-9d5f204b966b"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}