我想从谷歌recaptcha(https://developers.google.com/recaptcha/docs/verify)获得一个json对象响应,但我只是得到一大串字母/数字。
我错过了什么吗?
其他信息:
03AHJ_Vuswy-TQzBlVYNOGdelLhl0YsRMKGBD-Zu6ETlJNor1HMyksXtGRmWaBbx7kgDrmT64_pYEbs5U-uHLHwBYSsRb4idin9Q5yabG6UueG-Uw8dIqxA_C1hJB0NJ8i-hKG3tmllsIGojj39ZHRXR3CnghL0UkFaHVOHyVqTlFq31SS9o-OR8JpJG7osy6HStTGs6LT1IX9iea0V1pm43aRqtoSgZWvbxGE2B7HvCGchc74wk_tcomA9W4aYouoFqzG3_Ol4PY8ZJz_VJZkDCN0qhbWqWvm96122QSumRkOGtVg1AFaMiYJgQOSt8neggdegnxJo70Mw94H8eEGNxbOokOqLJrFUDAY-9gEYdGEQKsgfm3V9hFvClUkPg_XBZSQWY1kaaRJvkqWt47gy0h3N5_7WJnQX2DAyG2vscM-BKmH0kmo4OEhpI2QCB3t0ESrBZcahIfSBiQkOL7xcSOq-R53MY4mPLVteDq78jhJiu0ZKF95UUVbJ7y9m_xTBzlk9KAWYCDbvpavgBXjKPkz3YRgJPWe8I5onDkSEIlhHFPpYu4zYvlk-phWFri4LkeUCQbcnqkTUmkVVpJpvWS0jqeMgKM-GKjXTEVxG6A5ak5xRCZtK-3NJYGwuWikCmxv8lEE22yl2CaD9XxOG38ONiyF_3SvW5ClPC3i1iy5fBkdwjEf_aIpZfpeE0Sv_0MHDgVz-2kf5kK5pgZAObiHvvHev9UZBzrhtDsinVjI0BlyuoG0znOVkrWyEAG5RCbX-mECfogFtc22fdsafsafsafasfsafsafas2OkTCIb0Eaemk9XEZEn1vO5egHlPaUhNYElU74m2XVTICTrsXwfRHpT-_okADMfyxJ-1jQkaM4w19j3AReOFY6d_nE4k1h5MmzFfeuO-S7G6yOPEOQAR27mVkDZNtdyGJm11_ODzuDKihepTkHlXSg_2-8Ozz0M3JjMjPjj5DlbTKI2DXkqjZBNiyN2qb Q
当我应该得到:
{
"success": true|false,
"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
}
答案 0 :(得分:1)
这需要通过服务器端的HTTP调用来获取您从客户端验证码获得的响应。