Skip to main content

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