Verifying reCAPTCHA2 in web forms | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Verifying reCAPTCHA2 in web forms

I have made a form with reCAPTCHA2 validation. I don't know how to verify the captcha. There is no proper example on google developer website. I have found following stackoverflow discussion but on every answer it is written that "the answer is not correct, or it is not contacting server" etc. https://stackoverflow.com/questions/27902539/how-can-i-validate-google-recaptcha-v2-using-javascript-jquery

25th Jan 2020, 2:13 PM
harshit
harshit - avatar
5 Answers
+ 1
BroFar the answer is just a reference as it is not properly working and some people have pointed it to be incorrect.
25th Jan 2020, 2:36 PM
harshit
harshit - avatar
0
ok so do you have a question as you gave us both a question and answer from stackoverflow... https://www.sololearn.com/discuss/1316935/?ref=app
25th Jan 2020, 2:23 PM
BroFar
BroFar - avatar
25th Jan 2020, 2:41 PM
Taste
Taste - avatar
0
Taste in the first answer of the stackoverflow discussion, another person has mentioned that the it is not sending the request to google server for verification and only verifying on client side by JavaScript. It is okay. How can we verify by google server ?
25th Jan 2020, 2:44 PM
harshit
harshit - avatar