Updates message/hal.md

Auto commit by GitBook Editor
This commit is contained in:
apidesigner
2017-06-19 09:00:24 +00:00
parent 5b8bab3a60
commit 42be9d815d

View File

@@ -1,7 +1,10 @@
# HAL
> HAL is a simple format that gives a consistent and easy way to hyperlink between resources in your API.
The [`application/hal+json`](http://stateless.co/hal_specification.html) (HAL) **MUST** be used as the representation format of a resource.
This is an informal introduction for the HAL media type. For details see [HAL - Hypertext Application Language Specification](http://stateless.co/hal_specification.html).
## Introduction to HAL
> _HAL is a simple format that gives a consistent and easy way to hyperlink between resources in your API._
This is an informal introduction for the HAL media type. For more details see [HAL - Hypertext Application Language Specification](http://stateless.co/hal_specification.html).
## Simple Document Example
The simplest Hal document looks like an empty JSON (it is an empty JSON!):