A tiny little Sinatra app for serving up status codes
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
README.markdown
gimme_status.rb

README.markdown

Gimme Status

A trivial sinatra app that returns the status code you want.

Run it with: ruby gimme_status.rb

And call it with: /404 #=> Returns a 404 status /500 #=> Returns a 500 status

And so on, and so on, and so on