Customize Supported HTTP Methods
Understand how to customize and restrict default HTTP methods in Spring Data REST by overriding repository methods and using the @RestResource annotation. Explore controlling access to endpoints such as deleteById and findById and handling resulting HTTP status codes.
We'll cover the following...
We'll cover the following...
The Todo resource
It’s possible to customize the default bindings of Spring Data Rest HTTP methods such as findById, save, and deleteById by overriding them in the JPA repository and ...