Spring MVC Tutorials 42 – Web Services 12 ( @RequestMapping using Consumes )

Share

in this tutorial, we are going to learn about how to make use of Consumes argument with @RequestMapping annotation so as to restrict a REST API controller method to consume request Body message in only one specific format.