require 'rubygems' require 'typhoeus' require 'json' body = {:key=> "1230aea77d7bd38898fec74a75a87738dea9f657", # :node=>"node1", :notifyURL=>"http://192.168.1.2:5000/push/node1", :method=>"GET", :timeout=>"60"} puts Typhoeus::Request.post("http://192.168.1.14:4567/api/v1/watch/node1", :body=>body)