Fix HATEOAS reference and definition

Previous reference and definition wrongly assumed HTML as mandatory for HATEOAS, where in fact Hypermedia is.
pull/404/head
Rogerio Bernardo 2020-04-19 12:48:38 -03:00
parent 449dc27f33
commit 5e98df13d2
1 changed files with 2 additions and 2 deletions

View File

@ -1505,8 +1505,8 @@ There are four qualities of a RESTful interface:
* **Identify resources (URI in HTTP)** - use the same URI regardless of any operation.
* **Change with representations (Verbs in HTTP)** - use verbs, headers, and body.
* **Self-descriptive error message (status response in HTTP)** - Use status codes, don't reinvent the wheel.
* **[HATEOAS](http://restcookbook.com/Basics/hateoas/) (HTML interface for HTTP)** - your web service should be fully accessible in a browser.
* **Self-descriptive error message (Status codes in HTTP)** - use status codes, don't reinvent the wheel.
* **[HATEOAS](https://en.wikipedia.org/wiki/HATEOAS) (Hypermedia in HTTP)** - provide dynamic application options throug hypermedia.
Sample REST calls: