"REST" is the acronym ROY Filding (Roy Fielding) created in his doctoral dissertation. The 5th chapter of Fielding's thesis outlines the principles of knowing that a Web service is known as rest-style or restful. He is the main author of the HTTP1.1 specification and one of the creators of the Apache Software Foundation.
There is a big difference between rest and soap. Soap is a messaging protocol in which the message is an XML document, and rest is the style of a software architecture. It is used in distributed hypermedia systems, or in systems that are stored in text, graphics, audio, and other media formats in the network and interconnected through hyperlinks. The World Wide Web is an example. In the Web, HTTP is both a transport protocol and a messaging system, because HTTP requests and responses are messages. The payload of an HTTP message can use the MIME (Multipurpose Internet Mail Extension, Multipurpose Internet Mail Extension) type System. MIME types are available, such as Text/html,application/octet-stream and AUDIO/MPEG3.
Rest represents the representational state transfer (representational, Transfer), where "resources" are not present in abbreviations in the abstract concept of rest. A restful resource (resource) refers to something that is accessed through HTTP because it has a name, which is the URI (Uniform resource Identifier, Uniform Resource representation). The URI has two subtypes: one is the URL that we are familiar with, it specifies a location, and the other is a urn, just the name of a symbol, but not a location. URIs are unified (Uniform) because they have to be constructed in some way, with the syntax for the URI (syntax). In summary, a URI is a canonical name for a resource.
Rest-type Web Services