Railscasts #350: REST API Versioning

Posted in Frameworks, Podcasts, Development on May 16, 2012



APIs should be consistent, but it is difficult to do this when returning a JSON response along side the HTML interface. Here I show how to add a versioned, RESTful API. The version can be determined from either the URL or HTTP headers.

Resources:

Watch Video on External Site Watch Video

Tags: Rails, Railscasts, Development, Ruby, Frameworks, Ruby On Rails