Content negotiation is a way to serve client-specific representations of the same resource. This technique has been used for decades, for example, to serve a GIF-formatted image to an Internet Explorer 4 client that doesn’t support PNG. Despite its long-term existence, content negotiation is largely unused in REST APIs to serve structured data or media. This talk will argue for the use of content negotiation in REST API design to create APIs that are easier to evolve over time, as needs, capabilities, and media formats change.
October 22, 2014 15:55