• Register

Share:- Whatsapp Facebook Facebook

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


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

1 Answer

0 votes
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.
by (3k points)