Hoppa till huvudinnehåll
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......"
}

Auktoriseringar

Authorization
string
header
obligatorisk

Rubriker

accept
enum<string>

Specifies the format of the response from the server.

Tillgängliga alternativ:
application/json

Kropp

application/json
website_key
string
obligatorisk

The website key identifier in recaptcha.

Exempel:

"6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-"

website_url
string
obligatorisk

URL of the website where the recaptcha is located.

Exempel:

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

Svar

OK, the request is successful.

token
string

Verification result.