/v1/encode
Apply a cipher to text
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/cipher-api/v1/encode" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/cipher-api/v1/encode", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/cipher-api/v1/encode");
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/cipher-api/v1/encode",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"input": "Hello",
"cipher": "morse",
"result": ".... . .-.. .-.. ---",
"operation": "encode"
},
"meta": {
"timestamp": "2026-06-01T00:04:26.575Z",
"request_id": "1a4c586b-f0af-4160-8f70-3040f91efe83"
},
"status": "ok",
"message": "Encoded",
"success": true
}