Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 7 lines (7 sloc) 221 Bytes
#!/usr/bin/env ruby
require 'rubygems'
require 'sinatra'
require 'json'
@@last_request = {}
post('/') { @@last_request = params.merge :proxy_request_uuid => Time.now.to_i }
get('/proxy') { @@last_request.to_json }