S

Satya • 3.38K Points
Extraordinary

Q. Which annotation is used to read JSON data from request body?

  • (A) @RequestBody
  • (B) @ResponseBody
  • (C) @ModelAttribute
  • (D) @PathVariable
  • Correct Answer - Option(A)
  • Views: 9
  • Filed under category Spring MVC
  • Hashtags:

Explanation by: Satya
@RequestBody binds the HTTP request body to a method parameter object.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.