Question from the Spring test

Write a Spring controller that returns a list of users.

Hard

Considering the following code, what response will be returned to the GET/users request?

@RestController
public class MyController{
    @GetMapping("/users")
    public String get(@RequestParam String q){
      //...
    }
}
Author: W3D TeamStatus: PublishedQuestion passed 122 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!