require 'yaml'
require 'sinatra'
set :logging, false
get '/' do
params.to_s
end
get '/submit' do
params.to_hash.to_yaml
end
get '/sleep' do
sleep 2
<<-EOHTML
Inject here
#{params[:input]}
EOHTML
end
get '/refreshable' do
<Irrelevant
Refreshable
HTML
end