require 'sinatra'

class App < Sinatra::Base
  get('/success') do
    status 200
  end

  post('/404') do
    status 404
  end
  
  post('/503')  do
    status 503
  end
end

run App
require 'sinatra'

class App < Sinatra::Base
  get('/v1/success') do
    status 200
  end

  get('/v1/not_found') do
    status 404
  end
  
  post('/v1/service_unavailable')  do
    status 503
  end
end

run App
Add v1 prefixes for convenience.
Add v1 prefixes for convenience.
