11-02-2013, 03:14 PM
Web Basics : Terminology used - Header & Payload
1Web Basics.pdf (Size: 550.89 KB / Downloads: 22)
Web Operation: The Letter Analogy
Web components base their decisions solely on information in the HTTP header.
No one in the receiving warehouse may look inside any letter or package.
All decisions about what to do with letters and packages must be made purely by looking at the addressing on the outside.
Any attempt to peek inside of letters and packages is a violation of the Law.
REST defined
Resources are identified by uniform resource identifiers (URIs)
Resources are manipulated through their representations
Messages are self-descriptive and stateless
Multiple representations are accepted or sent
Hypertext is the engine of application state
REST Characteristics
Client-Server: Clients use resource representations.
Stateless: each request from client to server must contain all needed information.
Uniform interface: all resources are accessed with a generic interface (HTTP-based)
Interconnected resource representations
Layered components: intermediaries, such as proxy servers, cache servers, to improve performance, security