Spring boot project with Google reCAPTCHA API v2.
This is simple project by implementing Google reCAPTCHA api by using spring boot. To do this project you can follow below steps:
-
Go to google # GoogleRecaptchaAdmin by login your gmail account.
-
Create reCAPTCHA label by giving:
1. Name 2. Select version v2 ( "I'm not a robot" tickbox 3. Domain 4. Accept reCAPTCHA terms. 5. Submit.
Then it will generate for #TWO secret key
1. Client Side secret key
2. Server Side secret key
After this follow API Documentation provided by reCAPTCHA .
As usually create normal spring boot project by providing jars/dependencies Spring Web, Spring JPA, H2 Database, Thymeleaf, Lombok
Hint: Use RestTemplate to access request and response of JSON objects.