Burn is a Sinatra app that listens for POSTs and forwards the messages it receives to Campfire.
- Make a
campfire.yml
. - Put it in the same directory as
burn.rb
. - Run it:
$ ruby burn.rb
. - Hit it:
curl -F message='Hi mom!' http://localhost:4567
You can hit it from Ruby easily, too:
require 'net/http'
Net::HTTP.post_form(URI.parse("http://localhost:4949/"), 'message' => "Hi dad!")
Chris Wanstrath // chris@ozmm.org