Building REST APIs with Spring Boot
Learn Building REST APIs with Spring Boot (REST API Development, Spring Boot) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.
What is REST? REST (REpresentational State Transfer) is an architectural style for building web APIs. It is built around two simple ideas: • Resources - everything is a "thing" identified by a URL, e.g. /employees , /employees/1 . • HTTP Verbs - the action you want to perform on that resource is expressed using the HTTP method. Spring Boot makes it very easy to expose Java methods as REST endpoints using the @RestController annotation.
More lessons in REST API Development
- REST API & RESTful Web Services
- HTTP Methods
- HTTP Status Codes
- Request Mapping Annotations
- Reading Request Data
- ResponseEntity
- DTOs: Request and Response
- API Design - Pagination, Filtering & Versioning
- JSON - Structure & Parsing
- REST API - Save & Update Operation
- REST API - Get & Delete Operation
- Spring Boot - Interceptor
- Mini Project: Book Catalogue REST API