pinocc.io

How to connect pinoccio to apache couchdb

不羁岁月 提交于 2020-01-03 03:25:12
问题 Is there anyone using the nice pinoccio from www.pinocc.io ? I want to use it to post data into an apache couchdb using node.js. So I'm trying to poll data from the pinnocio API, but I'm a little lost: schedule the polls do long polls do a completely different approach Any ideas are welcome Pitt 回答1: Sure. I wrote the Pinoccio API, here’s how you do it https://gist.github.com/soldair/c11d6ae6f4bead140838 This example depends on the pinoccio npm module ~0.1.3 so make sure to npm install again

How can a Pinoccio lead scout make a POST request to a remote server?

前提是你 提交于 2019-12-23 05:23:30
问题 I'd like my Pinocc.io lead scout to make a POST request (e.g. to inform a remote service of an event that has been triggered). Note that I don't want to listen to a constant stream the results (as detailed here) as I don't want to be constantly connected to the HQ (I'm going to enable the wi-fi connection only when required to minimize battery usage), and the events I'm detecting are infrequent. I would have thought that this is a very common use case, yet I can find no examples of the lead