Building RESTful APIs with Spring Boot
This chapter focuses on building RESTful APIs using Spring Boot. You will learn how to create basic REST controllers, return JSON responses, handle path variables and query parameters, and implement CRUD operations for your application.
Lessons and practices
Building Your First REST Controller in Kotlin
Modify the REST Controller and Return a Recipe Object
Extend the RecipeController with a New Endpoint
Returning JSON Responses in Spring Boot with Kotlin
Convert the Recipe Class to a Kotlin Data Class
Tweak Serialization of Recipe Data Class
Handling Path Variables and Query Parameters
Making RequestParam Nullable
Fix the Server Error When Fetching a Recipe by ID
Extend Recipe Controller with GET Endpoint for Categories
Adding a GET Endpoint with Filters in Kotlin
Creating CRUD Endpoints in Kotlin with Spring Boot
Simplify RecipeController with @RequestMapping Annotation
Fixing Recipe Controller in Kotlin Spring Boot
Implement the POST Endpoint for Adding Recipes
Implement PUT Endpoint for Updating Recipes
Implement DELETE Endpoint for Recipe Removal in RecipeController
Enhance CRUD Endpoints with ResponseEntity in Kotlin
Update POST Endpoint to Use ResponseEntity in Kotlin
Updating PUT Endpoint with ResponseEntity
Modifying DELETE Endpoint to Return HTTP Status Codes Using ResponseEntity
Interested in this course? Learn and practice with Cosmo!
Practice is how you turn knowledge into actual skills.