Skip to content

Instantly share code, notes, and snippets.

@JakubOboza
Created August 4, 2011 22:45
Show Gist options
  • Save JakubOboza/1126483 to your computer and use it in GitHub Desktop.
Save JakubOboza/1126483 to your computer and use it in GitHub Desktop.
RestClient.post 'http://localhost:9292/faye', :message => {:channel => "/markers_ip", :data => {"lat" => 52.0, "lng" => 2.0, :ip => "0.0.0.0" } }.to_json
RestClient.post 'http://localhost:9292/faye', :message => {:channel => "/markers_address", :data => { "address" => "N15 3PR London" } }.to_json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment