Try it out! https://michael-scott-quotes.herokuapp.com/quote
Just a simple Sinatra REST API server to learn more about Sinatra/Ruby.
Inspired by: https://github.com/jamesseanwright/ron-swanson-quotes
Returns a random quote in this format:
{
"quote": "NO! GOD! NO GOD PLEASE NO! NO! NOOOOOOOOOOOOOOOOOOOOOOOOOOOOO",
"author": "Michael Scott"
}
gem install sinatra
ruby Driver.rb
Go to: http://localhost:4567/quote