RailsCasts
Ryan Bates
Add to My Podcasts
Episodes
About
Reviews
Charts
Promote
#350 REST API Versioning
10 minutes
Posted May 16, 2012 at 12:00 am.
0:00
10:40
Add to My Queue
Download
MP3
Share
episode
Share at current time
Show notes
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.
Watch Video
Previous
#348 The Rails API Gem
Next
#352 Securing an API
← See all 346 episodes of RailsCasts
Privacy Manager