Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This describes a type of functional contract. Servers inform clients what can be done using hypermedia and clients inform servers what they want to do using this hypermedia. This is where a stateless design of provides the basis of statelessness with our RESTful APIs becomes possible. Servers . That is, servers are not tracking the application state of each and every client. Servers don't care what the application state of each and every client. ServersRather, servers (i.e., our APIs in this context, ) only care about what clients request a client requests at the time the request is madeit calls our API. Our APIs then package up the resource content (static and hypermedia) as appropriate at the time. Clients, on the other hand, are likewise not supposed to Likewise, clients also should not care about the resource state of the server. They are should only be concerned with the application state and any responses the server returns when a change in the resource state is made.

...