📡 ToastRFC
Paths

You never GET a resource

Resource vs representation vs message — the abstraction that makes content negotiation, caching, and ETags all make sense.

  1. Resource — whatever a URI names
  2. Representation — a serialization of its state
  3. How RFC 9110 defines it

    A "representation" is information that is intended to reflect a past, current, or desired state of a given resource, in a format that can be

  4. Content negotiation — picking a representation
  5. Conditional requests — acting on a representation only if it hasn't changed