Added routes to api_controller. Added erb tag to index.html.erb. Added httparty gem.