Sha256: a70fef86c5312d42befe03ec3e6c11562f6bb7b5918df664e38fd2cc68efe42c

Contents?: true

Size: 312 Bytes

Versions: 2

Compression:

Stored size: 312 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.8:4567/api/v1/watch/node1", :body=>body)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ardtweeno-0.3.1 test/debug/run_post_watch
ardtweeno-0.3.0 test/debug/run_post_watch