Question from the Spring test

Given a request with invalid content, which response will be produced by the following code:

Hard

Assuming that the content of the request received is functionally invalid (ex: missing first name), which response will produce the following code:

@RestController
public class MyController{
        @PostMapping("/users")
        public String get(@RequestBody User user){
                return user;
        }
}
Author: W3D TeamStatus: PublishedQuestion passed 81 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!