Updates message/message-formats.md

Auto commit by GitBook Editor
This commit is contained in:
apidesigner
2017-02-14 10:27:25 +00:00
parent 126f408d94
commit a80f8498ce

View File

@@ -4,8 +4,7 @@
All **response** messages MUST support an [`application/hal+json`](http://stateless.co/hal_specification.html) (HAL) format.
### Error Response Format
The [`application/vnd.error+json`](https://github.com/blongden/vnd.error) (vnd.error) MUST be used to communicate details about an error.
The [`application/problem+json`](https://tools.ietf.org/html/rfc7807) (Problem Details) MUST be used to communicate details about an error.
## Request Message Format
Data body **request** messages SHOULD support a [`application/json`](http://www.json.org) (JSON) format. Where applicable, the data body request message SHOULD also support the `application/hal+json` format.