/v1/run
Compile + run code
Provalo dal vivo
Una chiamata gratuita per sessione: nessuna registrazione, nessuna chiave API. Passa attraverso il gateway di oanor.
Frammenti di codice
curl "https://api.oanor.com/codeexec-api/v1/run" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/codeexec-api/v1/run", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/codeexec-api/v1/run");
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/codeexec-api/v1/run",
headers={"x-oanor-key": "oanor_test_..."}
)