REST is the architectural style used to serve web pages and make requests on the World Wide Web, or simply the Web. Although the Internet and the Web are often referred to interchangeably, they differ in the fact that the Web is merely a part of the Internet.
The Web is a collection of documents, or web pages, which are served or hosted on computers all over the world and are connected via hyperlinks, or what are commonly referred to as links. These links are served over HTTP, the language of communication for the Web. REST is often confused with HTTP because of its mutual relationship with the Web, but HTTP and REST are far from the same thing.
REST is an architectural style, while HTTP is an application layer protocol. This means that while HTTP is the language of communication on the Web, REST is simply a set of rules for performing requests and operations on the Web. These operations performed...