test
Méthodes JSON
Tâches à token
- reCAPTCHA v2
- reCAPTCHA v2 Enterprise
- reCAPTCHA v3
- Cloudflare Turnstile
- GeeTest v3 / v4
- FunCaptcha (Arkose Labs)
- Amazon AWS WAF
- MTCaptcha
- Friendly Captcha
- Lemin Cropped Captcha
- DataDome
- KeyCaptcha
- Capy Puzzle
- Page Cloudflare Challenge
- Cutcaptcha
- CyberSiARA
- atbCAPTCHA
- Tencent Captcha
- Prosopo Procaptcha
- CaptchaFox
- Altcha
- NetEase Yidun
- Yandex SmartCaptcha
- VK Captcha
- Binance Captcha
- Tâche personnalisée (Imperva, Temu et autres)
test
Écho pour le débogage. Renvoie le corps JSON reçu, sans clientKey. Pas de vérification de clé, pas de facturation.
POSThttps://unlock-api.com/test
Aucun paramètre obligatoire. Envoyez n'importe quel corps JSON.
Requête
POST /test
{
"clientKey": "YOUR_API_KEY",
"hello": "world"
}Réponse
Succès
{
"errorId": 0,
"received": {
"hello": "world"
}
}Champs de la réponse
errorIdInteger
0 si la requête a réussi, 1 sinon.
receivedObject
Le corps envoyé, sans clientKey.
Exemples de code
curl -s https://unlock-api.com/test \
-H "Content-Type: application/json" \
-d '{"clientKey":"YOUR_API_KEY","hello":"world"}'import requests
r = requests.post("https://unlock-api.com/test", json={
"clientKey": "YOUR_API_KEY",
"hello": "world"
}).json()
print(r)const r = await fetch("https://unlock-api.com/test", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({
"clientKey": "YOUR_API_KEY",
"hello": "world"
}),
}).then((res) => res.json());
console.log(r);