This is an old version, saved 5 Dec 2026, 05:27 by TechWritereditor. It is the current version.

Representational state transfer

Representational state transfer (REST) is a software architectural style – a set of design constraints intended to produce efficient, reliable and scalable distributed systems.[1] The US National Institute of Standards and Technology describes it as a style that defines a common method for defining APIs for web services.[2]

Contents
  1. History
  2. How it works
  3. Use today
  4. See also
  5. References

History

REST was set out by Roy Fielding in his 2000 doctoral dissertation, Architectural Styles and the Design of Network-based Software Architectures, at the University of California, Irvine.[3] Fielding wrote that REST had guided the design of the modern World Wide Web since 1994; its first version was developed between October 1994 and August 1995 while he worked on the Hypertext Transfer Protocol (HTTP) 1.0 specification and the first HTTP/1.1 proposal.[4] Before it was renamed it was called the "HTTP object model".[4] REST was used to define the term "resource" for the web address (URI) standards and to analyse proposed extensions to HTTP/1.1.[4]

Fielding chose the name to evoke how a well-designed web application behaves: a network of pages in which the user moves by selecting links, and each selection transfers the next page – a representation of the next state – to the user.[4]

How it works

REST combines several constraints.[5] Clients and servers are separated; each request is stateless, carrying all the information needed to understand it; responses are labelled as cacheable or not; components use a uniform interface; the system may be layered with intermediaries; and, optionally, clients may download and run code.[5]

Information is modelled as resources, each named by a resource identifier such as a Uniform Resource Locator.[5] What travels across the network is a representation of a resource: a sequence of bytes plus metadata describing them.[5]

Use today

Services that follow these constraints are called RESTful.[1] In everyday use, HTTP-based programming interfaces – often exchanging JSON – are loosely called REST APIs even when they do not follow every constraint.[1]

See also

References

  1. ^ REST. MDN Web Docs (Mozilla). developer.mozilla.org
  2. ^ REST – Glossary. National Institute of Standards and Technology. csrc.nist.gov
  3. ^ Architectural Styles and the Design of Network-based Software Architectures. University of California, Irvine. 2000. ics.uci.edu
  4. ^ Chapter 6: Experience and Evaluation. University of California, Irvine. 2000. ics.uci.edu
  5. ^ Chapter 5: Representational State Transfer (REST). University of California, Irvine. 2000. ics.uci.edu