Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Access "Request payload" in Spring MVC Controller?

Tags:

spring-mvc

How to simple as @RequestParam or @PathVariable access "Request payload" in Spring MVC Controller ?

enter image description here

like image 766
marioosh Avatar asked Nov 09 '11 14:11

marioosh


1 Answers

Using @RequestBody (see example in the manual).

like image 115
skaffman Avatar answered Sep 27 '22 21:09

skaffman