From 5b8bab3a607fb09b63629545fadc7edaad620595 Mon Sep 17 00:00:00 2001 From: apidesigner Date: Mon, 19 Jun 2017 08:57:56 +0000 Subject: [PATCH] Updates message/message-formats.md Auto commit by GitBook Editor --- message/message-formats.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/message/message-formats.md b/message/message-formats.md index 78fd737..5175da9 100644 --- a/message/message-formats.md +++ b/message/message-formats.md @@ -7,8 +7,7 @@ All **response** messages **MUST** support an [`application/hal+json`](http://st The [`application/problem+json`](https://tools.ietf.org/html/rfc7807) (Problem Detail) **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. - -Data body **request** messages **SHOULD** also support the [`application/x-www-form-urlencoded`](https://tools.ietf.org/html/rfc1866#section-8.2.1) (URL Encoded) format. +**Request** messages with body **SHOULD** support a [`application/json`](http://www.json.org) (JSON) format. Where applicable, request message **SHOULD** also support the [`application/hal+json`](http://stateless.co/hal_specification.html) format. +**Request** messages **MAY** also support the [`application/x-www-form-urlencoded`](https://tools.ietf.org/html/rfc1866#section-8.2.1) (URL Encoded) format.