xxxxxxxxxx
The client of a service can request what the textural response type it requires by sending an “Accept” header with the desired MediaType.
If no Accept header is sent, the service will decide on the textural response format.
In addition, posting data to a service, the service can identify endpoints that only consume a specific textual format by consuming a request with a specific content-type header