Kevin Carpenter
02/28/2021, 9:58 AMDenis Espinosa
03/01/2021, 1:46 AMKevin Carpenter
03/02/2021, 12:33 PMDenis Espinosa
03/02/2021, 12:38 PMnlapiRequestURL(recaptchaVerifyUrl, {
remoteip: IP_CLIENT,
secret: privateKey,
response: captcha // value in form
});
then to verifyDenis Espinosa
03/02/2021, 12:38 PMresponse.success;
response.action;
response.score;
check this in responseDenis Espinosa
03/02/2021, 12:39 PM{
"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
}
Kevin Carpenter
03/08/2021, 8:36 AM