Aller au contenu
GET /v1/stringify

Convert JSON to INI

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/ini-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/ini-api/v1/stringify" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/ini-api/v1/stringify", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/ini-api/v1/stringify");
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/ini-api/v1/stringify",
    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": {
        "ini": "[server]\nhost=localhost\nport=8080\n"
    },
    "meta": {
        "timestamp": "2026-06-02T16:51:44.360Z",
        "request_id": "9c525de1-af98-408f-a97e-491befae4571"
    },
    "status": "ok",
    "message": "JSON to INI",
    "success": true
}