Content Negotiation for REST APIs

Опубликовано: 24 Октябрь 2014
на канале: Nordic APIs
1,654
23

Erik Michaels-Ober - SoundCloud - 22/10/2014
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.

The presentation was recorded at the 2014 Platform Summit in Stockholm, Nordic APIs second annual conference.

Find out more at http://nordicapis.com/