a basic rest api example in rails. wanted to practice some api testing against it.