REST API & RESTful Web Services
Learn REST API & RESTful Web Services (REST API Development, Spring Boot) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.
What is REST? • REST is an architectural style that defines a set of rules for creating RESTful web services. • It stands for REpresentational State Transfer . Why do we need it? Suppose you run a job site, freshersworlds.com , and you want to show tour packages from different countries on it. What are your options? There is exactly one sensible option: call the tour company's API from your site. That is why REST APIs exist. Put more generally: if your application needs to work with a third-party application, a REST API is how they talk. In client-server communication, REST says: build an...
More lessons in REST API Development
- HTTP Methods
- HTTP Status Codes
- Building REST APIs with Spring Boot
- 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