Google reCAPTCHA回应

时间:2019-02-04 09:51:48

标签: recaptcha invisible-recaptcha

我已经在客户端和服务器上设置了Google的隐形reCAPTCHA,并且能够在服务器上验证Google的响应。

文档状态为that

{
  "success": true|false,      // whether this request was a valid reCAPTCHA token for your site
  "score": number             // the score for this request (0.0 - 1.0)
  "action": string            // the action name for this request (important to verify)
  "challenge_ts": timestamp,  // timestamp of the challenge load (ISO format yyyy-MM-dd'T'HH:mm:ssZZ)
  "hostname": string,         // the hostname of the site where the reCAPTCHA was solved
  "error-codes": [...]        // optional
}

我特别感兴趣的是“成功”字段。什么是“有效的reCAPTCHA令牌”?机器人填写表格的要求是否被视为低分有效?

0 个答案:

没有答案