test/debug/run_post_watch in ardtweeno-0.4.0 vs test/debug/run_post_watch in ardtweeno-0.5.0
- old
+ new
@@ -3,10 +3,10 @@
require 'json'
body = {:key=> "1230aea77d7bd38898fec74a75a87738dea9f657",
# :node=>"node1",
- :notifyURL=>"http://localhost:5000/push/node1",
+ :notifyURL=>"http://192.168.1.2:5000/push/node1",
:method=>"GET",
- :timeout=>60}
+ :timeout=>"60"}
-puts Typhoeus::Request.post("http://localhost:4567/api/v1/watch/node1", :body=>body)
+puts Typhoeus::Request.post("http://192.168.1.14:4567/api/v1/watch/node1", :body=>body)