VividCortex / angular-recaptcha

AngularJS directive to add a reCaptcha widget to your form
http://vividcortex.github.io/angular-recaptcha/
MIT License
496 stars 257 forks source link

What do I send to the server as the challenge? #61

Closed mikepc closed 9 years ago

mikepc commented 9 years ago

In order to validate the captcha server side, I need to pass a challenge, what variable/function will give me the correct challenge data?

mikepc commented 9 years ago

I recognize that the latest version of Recaptcha doesn't require challenge, but all of the latest recaptcha node modules require the challenge field. What am I missing?

jackkum commented 9 years ago

You're need send post request to url https://www.google.com/recaptcha/api/siteverify

from here https://developers.google.com/recaptcha/docs/verify