Updates protocol/content-negotiation.md

Auto commit by GitBook Editor
This commit is contained in:
apidesigner
2017-02-01 16:47:02 +00:00
parent 0c6146c210
commit e1e6e8fa71

View File

@@ -1,6 +1,8 @@
# Content Negotiation
Every API MUST implement and every API Consumer MUST use [HTTP content negotiation](https://tools.ietf.org/html/rfc7231#section-3.4) where a representation of a resource is requested.
> NOTE: The content negotiation plays the key role in evolving an API, change management and versioning.
#### Example
A client is programmed to use the `application/vnd.example.resource+json; version=2` media type. The client requests a representation of the `/greeting` resource in desired the media type (including its version) from the server: