Handling recaptcha during user registration


Hi there, I was going through the digitalsky API documentation [ given here: https://digitalsky.dgca.gov.in/api-documentation]. I was trying to register the user using the /api/user endpoint. My question is about testing the API and how is the recaptcha tested when sent via Postman and how is it working behind the scenes ?


For testing purpuse you can disable capta by modifying “GoogleReCaptchaService.java”.

// if (success == null || !success) {
// throw new ReCaptchaVerificationFailedException();
// }

in public void verifyCaptcha(String value) function. Other way is to call google captcha api from postman. but tha will need domain verification at google console.