Tag Archives: ruby

Sinatra shortcuts

title: Sina­tra short­cuts tags: ruby, sina­tra pub­lished: false Want to test some­thing and need to “deploy” an HTTP end­point? Enter Sina­tra. gem install thin because WEBrick com­plains about the Con­­tent-Length miss­ing head­er. ruby -r sina­tra -e “post(‘/form’) { puts params … Con­tin­ue read­ing

Posted in Uncategorized | Tagged , | Comments Off on Sinatra shortcuts