Creating a CRUD REST API/Service with Spring Boot, JPA and Hibernate We exposes RestAPIs for Post/Get/Put/Delete Students :
@GetMapping("/api/students"): get all Students
@GetMapping("/api/students/{id}"): get a Student by ID
@PostMapping("/api/students"): post a Student
@PutMapping("/api/students/{id}"): update a Student
@DeleteMapping("/api/students/{id}"): delete a Student