mirror of
https://github.com/donnemartin/system-design-primer.git
synced 2025-09-18 01:50:38 +03:00
Fix HATEOAS reference and definition
Previous reference and definition wrongly assumed HTML as mandatory for HATEOAS, where in fact Hypermedia is.
This commit is contained in:
@@ -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:
|
||||
|
||||
|
Reference in New Issue
Block a user