Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (14 sloc) 0.213 kB
require 'sinatra'
require 'json'
get '/env' do
ENV['VCAP_SERVICES']
end
get '/rack/env' do
ENV['RACK_ENV']
end
get '/' do
'hello from sinatra'
end
get '/crash' do
Process.kill("KILL", Process.pid)
end
Jump to Line
Something went wrong with that request. Please try again.