Don't DELETE Me Bro
Deleting Data in a Spring Boot REST API
Enthusiastic and motivated software engineer with diverse experience
Deleting Data in a Spring Boot REST API
Updating Data in a Spring Boot REST API
POST accepts new data into a Spring Boot REST API
Wiring up a controller method to support POST requests isn’t all that different from setting up a GET handler. However, taking data in to our API raises new considerations. How do we make sure the input meets our quality standards? How do we handle the fields required in our data layer that are not provided by the input object?
Testing your Spring Boot REST API
Retrieving data in your Spring Boot REST API
We will start with the humble GET request, but before we can expose our data to the world we need somewhere to write that code. We need a @RestController. The controller is fundamental to Spring MVC, both in web applications and a REST API like we’re building here. This is where we define our specific HTTP endpoints and the corresponding methods to handle requests.
Fundamentals of REST API development with Spring Boot