Skip to content

Instantly share code, notes, and snippets.

@orianmarx
Created October 28, 2013 19:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save orianmarx/7203083 to your computer and use it in GitHub Desktop.
Save orianmarx/7203083 to your computer and use it in GitHub Desktop.
<Sinatra::Request:0x007fe074164818
@env=
{"CONTENT_LENGTH"=>"14",
"CONTENT_TYPE"=>"application/x-www-form-urlencoded",
"GATEWAY_INTERFACE"=>"CGI/1.1",
"PATH_INFO"=>"/",
"QUERY_STRING"=>"",
"REMOTE_ADDR"=>"127.0.0.1",
"REMOTE_HOST"=>"localhost",
"REQUEST_METHOD"=>"POST",
...
"rack.request.form_hash"=>{"forecast"=>"today"},
"rack.request.form_vars"=>"forecast=today",
"sinatra.route"=>"POST /"},
@params={"forecast"=>"today"}>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment