$ bundle install
$ gem install foreman
$ foreman start
Navigate to http://localhost:9000/api/ping with a browser or use curl.
$ curl http://localhost:9000/api/ping
{"ping":"pong"}
rake routes
| Name | Name | Last commit date | ||
|---|---|---|---|---|
$ bundle install
$ gem install foreman
$ foreman start
Navigate to http://localhost:9000/api/ping with a browser or use curl.
$ curl http://localhost:9000/api/ping
{"ping":"pong"}
rake routes