Content Negotiation is a must-have mechanism in all REST APIs. From choosing a language, to responding with a preferred charset or encoding, this mechanism shapes the response based on the agreement between client and server.
#REST #API #PHP
https://www.dotkernel.com/dotkernel-api/content-negotiation-in-dotkernel-rest-api/