test
JSONメソッド
トークンタスク
- 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
- Cloudflareチャレンジページ
- Cutcaptcha
- CyberSiARA
- atbCAPTCHA
- Tencent Captcha
- Prosopo Procaptcha
- CaptchaFox
- Altcha
- NetEase Yidun
- Yandex SmartCaptcha
- VK Captcha
- Binance Captcha
- カスタムタスク(Imperva、Temuなど)
test
デバッグ用のエコーです。受け取ったJSONボディをclientKeyを除いて返します。キーの確認も課金もありません。
POSThttps://unlock-api.com/test
必須パラメータはありません。任意のJSONボディを送信してください。
リクエスト
POST /test
{
"clientKey": "YOUR_API_KEY",
"hello": "world"
}レスポンス
成功
{
"errorId": 0,
"received": {
"hello": "world"
}
}レスポンスフィールド
errorIdInteger
リクエストが成功した場合は0、失敗した場合は1です。
receivedObject
送信されたボディからclientKeyを除いたものです。
コードサンプル
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);