Tag Archives: sinatra

Sinatra shortcuts

title: Sinatra shortcuts tags: ruby, sinatra published: false Want to test something and need to “deploy” an HTTP endpoint? Enter Sinatra. gem install thin because WEBrick complains about the Content-Length missing header. ruby -r sinatra -e “post(‘/form’) { puts params … Continue reading

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