Mark As Completed Discussion

Are you sure you're getting this? Click the correct answer from the options.

Which annotation should be used to indicate that a class in Spring Boot will handle HTTP requests and produce JSON responses?

Click the option that best answers the question.

  • @RestController
  • @GetMapping
  • @PostMapping
  • @RequestMapping