Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @GetMapping(value="/generateotp/{username}")
- public String generateOTP(@PathVariable(value = "username") String userName) {
- loginService.generateOTP(userName);
- return "OTP Generated";
- }
- http://localhost:8080/generateotp/shaik.moulali
Add Comment
Please, Sign In to add comment