This is a guest lecture I gave to Deborah Estrin's CS5454 ("Mobile and Ubiquitous Computing") course at Cornell Tech on December 10, 2014 on using Rails as framework for building APIs.