12.29.2012 - By SD Ruby
James Miller explores writing and testing JSON APIs with Sinatra and rack/test. Authenticate, handle errors, set proper HTTP status codes, customize headers with pagination and rate limiting data, and mount it to an existing Rails app.