Pyramid with reCaptcha: how to implement?

╄→гoц情女王★ 提交于 2019-12-12 02:55:14

问题


I want to add the most popular captcha client on my site - reCaptcha. But I didn't found any examples or tutorials in internet... Maybe somebody knows how to do it?

I'll be very appreciate for any help!!!


回答1:


There is full API documentation available for reCATPCHA here. It probably has sample code, too.

I found this by going to the reCAPTCHA website and clicking on the FAQ link.

And of course, you sign up for the service here. That's pretty obvious from the home page.




回答2:


You need to do two things:

1) Display the widget on your site. Copy the html and javascript code on this reCaptcha documentation page.

2) Validate the user's response. You can use the python client for this. There is an example on how to use this in this stackoverflow post.

Good luck!



来源:https://stackoverflow.com/questions/9223939/pyramid-with-recaptcha-how-to-implement

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!