跳转到主要内容
POST
/
captcha
/
token
/
recaptcha2
Token Recaptcha2
curl --request POST \
  --url https://api.acedata.cloud/captcha/token/recaptcha2 \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "website_key": "6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-",
  "website_url": "https://www.google.com/recaptcha/api2/demo"
}
'
{
  "token": "03AGdBq25SxXT-pmSeBXjzScW-EiocHwwpwqtk1QXlJnGnU......"
}

授权

Authorization
string
header
必填

请求头

accept
enum<string>

Specifies the format of the response from the server.

可用选项:
application/json

请求体

application/json
website_key
string
必填

The website key identifier in recaptcha.

示例:

"6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-"

website_url
string
必填

URL of the website where the recaptcha is located.

示例:

"https://www.google.com/recaptcha/api2/demo"

响应

OK, the request is successful.

token
string

Verification result.