title: How to add @RequestBody to variables?
body: <p>@PostMapping(&quot;/api/v1.0/{username}/forgot&quot;)
  public void forgotPassword(@PathVariable String username,@RequestBody String enteredPassword,@RequestBody String reenterPassword) {
  userServiceImpl.forgotPassword(username, enteredPassword, reenterPassword);
  }</p>
  <p><strong>Here if the user wants to perform forgot password action he need to enter the password so how can i request user values from postman</strong></p>
  <p>Resolved [org.springframework.web.bind.MissingPathVariableException: Required URI template variable 'email' for method parameter type String is not present]</p>
  <p><strong>I am getting this error</strong></p>