Content negotiation means allowing different representations of a resource in the same URI so that clients can make a choice on what suits them best.
"HTTP has provisions for several mechanisms for "content negotiation" - the process of selecting the best representation for a given response when there are multiple representations available."
|--RFC 2616, Fielding et al.|
There are different patterns for content negotiation. These are as follows:
When the client sends requests to create or update a resource, there is some form of payload that should be transferred from the client to the endpoint. Also, when a response is generated, a payload can be sent back ...