Spring Boot - REST Controllers
Consider this controller method:
If the client sends an empty request body, what will happen?
@PostMapping("/user")
public String createUser(@RequestBody User user) {
return user.getEmail();
}If the client sends an empty request body, what will happen?
