What is Rest: Definition and 558 Discussions

Representational state transfer (REST) is a software architectural style that was created to guide the design and development of the architecture for the World Wide Web. REST defines a set of constraints for how the architecture of an Internet-scale distributed hypermedia system, such as the Web, should behave. The REST architectural style emphasises the scalability of interactions between components, uniform interfaces, independent deployment of components, and the creation of a layered architecture to facilitate caching components to reduce user-perceived latency, enforce security, and encapsulate legacy systems. REST has been employed throughout the software industry and is a widely accepted set of guidelines for creating stateless, reliable web services.
Any web service that obeys the REST constraints is informally described as RESTful. Such a web service must provide its Web resources in a textual representation and allow them to be read and modified with a stateless protocol and a predefined set of operations. This approach allows the greatest interoperability between clients and servers in a long-lived Internet-scale environment which crosses organisational (trust) boundaries.
"Web resources" were first defined on the World Wide Web as documents or files identified by their URLs. Today, the definition is much more generic and abstract, and includes every thing, entity, or action that can be identified, named, addressed, handled, or performed in any way on the Web. In a RESTful Web service, requests made to a resource's URI elicit a response with a payload formatted in HTML, XML, JSON, or some other format. For example, the response can confirm that the resource state has been changed. The response can also include hypertext links to related resources. The most common protocol for these requests and responses is HTTP. It provides operations (HTTP methods) such as GET, POST, PUT, and DELETE. By using a stateless protocol and standard operations, RESTful systems aim for fast performance, reliability, and the ability to grow by reusing components that can be managed and updated without affecting the system as a whole, even while it is running.
The goal of REST is to increase performance, scalability, simplicity, modifiability, visibility, portability, and reliability. This is achieved through following REST principles such as a client–server architecture, statelessness, cacheability, use of a layered system, support for code on demand, and using a uniform interface. These principles must be followed for the system to be classified as REST.
The term representational state transfer was introduced and defined in 2000 by Roy Fielding in his doctoral dissertation. Fielding's dissertation explained the REST principles that were known as the "HTTP object model" beginning in 1994, and were used in designing the HTTP 1.1 and Uniform Resource Identifiers (URI) standards. The term is intended to evoke an image of how a well-designed Web application behaves: it is a network of Web resources (a virtual state-machine) where the user progresses through the application by selecting resource identifiers such as http://www.example.com/articles/21 and resource operations such as GET or POST (application state transitions), resulting in the next resource's representation (the next application state) being transferred to the end user for their use.

View More On Wikipedia.org
  1. P

    Particles having nonzero rest mass can approach the speed of light

    Particles having nonzero rest mass can approach, but not reach, the speed of light, since their mass would become infinite at that speed. Can anyone expound upon this commencing with the very fundamental concepts (nonzero rest mass, mass, inertia, infinite mass etc.)?
  2. T

    Can anything really be at rest?

    We set speed v=0 all the time in physics, and reach neat and tidy conclusions, but can anything really be at rest? I am interested in criticisms to the following line of reasoning: Definition of momentum \vec P = mass*velocity = M \vec v And from this it follows that the magnitude of...
  3. M

    A jet transport has a weight of 2.97 x 106 N and is at rest on the runway

    I have two problems for homework that I just can't seem to figure out. Can someone please help me?! Thanks. 1) A jet transport has a weight of 2.97 x 106 N and is at rest on the runway. The two rear wheels are 17 m behind the front wheel, and the plane's center of gravity is 13.1 m behind the...
  4. M

    A 0.50 kg object is at rest. A 3.29 N force

    Problem 10. A 0.50 kg object is at rest. A 3.29 N force to the right acts on the object during a time interval of 1.60 s. At the end of this interval, a constant force of 4.07 N to the left is applied for 2.75 s. b. What is the velocity at the end of the 2.75 s? Answer in m/s. Note: Is...
  5. E

    Acceleration of a car that goes from rest to 69 km h in 9 seconds

    the question what is the average acceleration of a car that goes from rest to 69 km h in 9 seconds; don't i use the formula a = vf-vi over t vf - 59 / 9 what is the correct final answer 16.5 km
  6. C

    The nature of electric magnetic radiation,it's rest mass and potential to sl

    [SOLVED] the nature of electric magnetic radiation,it's rest mass and potential to sl Some people look at light as photons I look at light simular to radio waves except at a higher frequency,so if you analyse light from the point of from radio waves you get a much better picture as to...
  7. D

    Determine whether the truck will remain at rest

    hi can you help me with these two exercises please question 1 a 1490 kg car is moving with a steady speed of 88km/h at a constant height h above the ground on a slop track with an inclination angle to the horizontal. if there is no side force on the tyres determine(a)the radius of curvature...
  8. Zantra

    What's going on with the rest of our brain?

    I don't know if this necessarily belongs in the philosophy section, but we'll try it on for size. So as you all know, we use maybe 10 percent of our brain's capacity(some use considerably less, but that's another topic:wink:). Einstein purportedly used maybe 20% of his brain(this may be an...
Back
Top