A Grape API mounted on the Padrino Web Framework.
- ping: a hello world example that returns a JSON document
In instance of grape-on-padrino is deployed on Heroku at grape-on-padrino.herokuapp.com.
$ bundle install
$ rackup
Navigate to http://localhost:9292/ping with a browser or use curl
.
$ curl http://localhost:9292/ping
{"ping":"pong"}
rake routes