A Simple Kittens API project from The Odin Project.
The app renders JSON data instead of HTML.
To get the data on the kittens, fire up irb
and type require 'rest_client''
(assuming rest_client gem is installed).
Then type: response = RestClient.get("http://localhost:3000/kittens", :accept => :json)
To get data on an individual kitten, type: response = RestClient.get("http://localhost:3000/kittens/2", :accept => :json)