Versions Compared

Key

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

...

In our What is REST? article we introduced an important aspect of the Uniform Interface constraint known as HATEOAS. The concept of HATEOAS borrows the concept of hyperlinks in the HTML formatted media (via the anchor tag) to provide self-documented state changes. The difference is that the HTML media type defines this hypermedia feature in its standard which makes it possible for clients to interpret the hyperlinks automatically. Plain old JSON (as well as XML) does not have any native hypermedia support. This means any hypermedia included in a JSON object has no self-interpreted meaning. Clients have to be told how to tell the difference between normal text versus hypermedia text for it to be useful.

...