Skip to content

Commit

Permalink
Fixes #69
Browse files Browse the repository at this point in the history
  • Loading branch information
Bostjan Lah committed Nov 6, 2018
1 parent eef51fa commit fd36cc3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions REST_API/includes/overview.apib
Expand Up @@ -271,7 +271,8 @@ If the service cannot process the request payload as XML format is not supported

The `Accept: application/xml` SHOULD be used in the request by the client in order to specify the expected XML response format.
If the service cannot fulfill this aspect of the request, it MUST respond with HTTP status code `406 Not Acceptable`.
Proper header `Content-Type: application/xml` MUST be present in the response of the service.
Proper header `Content-Type: application/xml` MUST be present in the response of the service
unless response has no body (status 204).


<h3>JSON Format</h3>
Expand Down Expand Up @@ -315,7 +316,8 @@ If the service cannot process the request payload as JSON format is not supporte

The `Accept: application/json` SHOULD be used in the request by the client in order to specify the expected JSON response format.
If the service cannot fulfill this aspect of the request, it MUST respond with HTTP status code `406 Not Acceptable`.
Proper header `Content-Type: application/json` MUST be present in the response of the service.
Proper header `Content-Type: application/json` MUST be present in the response of the service
unless response has no body (status 204).


<h3>Datetime format</h3>
Expand Down

0 comments on commit fd36cc3

Please sign in to comment.