Back to course

PUT and DELETE Mappings

Spring Boot 0 to Hero: The Complete Java Backend Masterclass

Updating and Deleting

  • @PutMapping: Used for updating existing resources.
  • @DeleteMapping: Used for removing resources.

Consistent use of these methods makes your API RESTful.