Mapping annotation in Spring Boot

Mapping annotation in Spring simply informs that this method handles HTTP requests as per their respective verb, like GET, POST, PATCH, PUT, etc. Although the annotation maps the request to the method, the logic for how the resource is replaced/created/deleted is up to the developer.

Continue reading