request = require 'request'
item =
type: "info"
message: "Put token"
tags: []
data:
a: 10
timestamp: (new Date).toISOString()
o =
items: [item]
application: 'token-pool'
sessionId: ''
request
method: 'POST'
url: 'http://snooper.gogrid.ccl/'
json: o
, (err, res, body) ->
return console.log err if err
console.log body unless body.code is 200