0 votes
977 views
in Spring Boot by
What is the difference between RequestMapping and GetMapping ?

1 Answer

0 votes
by (2.9k points)
There are following difference between RequestMapping and GetMapping:-

* RequestMapping is a generic request handler where we can use with GET, POST, PUT or any  other request methods using in method attribute.
* GetMapping is a specific for GET request method. It is just an extension of RequestMapping to improve clarity.

Share:- Whatsapp Facebook Facebook


Welcome to Developerhelpway Q&A, where you can ask questions and receive answers from other members of the community.

Categories

...