1.

What is the difference between RequestMapping and GetMapping?

Answer»

RequestMapping can be used with GET, POST, PUT, and many other request methods using the method attribute on the ANNOTATION. Whereas getMapping is only an EXTENSION of RequestMapping which helps you to improve on CLARITY on request.



Discussion

No Comment Found