Hello everyone.
I followed the instructions in this link: reCAPTCHA V.2
I was able to get the keys and display the recaptcha object
But when the HTTJOB is executed the response is an error:
error-codes: [invalid-input-response]
success: false
I suspect that my error is in this line:
sb.Append("&response=").Append(ws.UpgradeRequest.GetParameter("g-recaptcha-response"))
How should I get the parameter: g-recaptcha-response using websocket?
Thanks for your possible answers.
I followed the instructions in this link: reCAPTCHA V.2
I was able to get the keys and display the recaptcha object
But when the HTTJOB is executed the response is an error:
error-codes: [invalid-input-response]
success: false
I suspect that my error is in this line:
sb.Append("&response=").Append(ws.UpgradeRequest.GetParameter("g-recaptcha-response"))
B4X:
Dim sb As StringBuilder
sb.Initialize
sb.Append("secret=").Append(Main.settings.Get("RecaptchaPrivateKey"))
sb.Append("&response=").Append(ws.UpgradeRequest.GetParameter("g-recaptcha-response")) '<------
j.PostString("https://www.google.com/recaptcha/api/siteverify", sb.ToString)
How should I get the parameter: g-recaptcha-response using websocket?
Thanks for your possible answers.