Simon Willison’s Weblog

Subscribe
Atom feed for contentnegotiation

1 item tagged “contentnegotiation”

2008

Versioning REST Web Services. Peter Williams suggests using a vendor MIME media type in the Accept header to specify a required API version, because embedding the API version in the URL itself leads to a single resource ending up with many different URLs, one for each API version.

# 13th October 2008, 12:45 pm / accept, contentnegotiation, http, peter-williams, rest, urls, versioning