Sha256: 1fb2c4890c311b250f09fb88212e9ad1f957dd7bb6334066628a586fdddbab5b

Contents?: true

Size: 314 Bytes

Versions: 2

Compression:

Stored size: 314 Bytes

Contents

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)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ardtweeno-0.6.0 test/debug/run_post_watch
ardtweeno-0.5.0 test/debug/run_post_watch