node-red-contrib-sails
v0.0.2
Published
Node Red client to work with sails server
Downloads
5
Readme
node-red-contrib-sails
A Node-RED node to send data to a sails.js server, using the sails.io.js library.
Install
Either use the Menu - Palette Manager - Install, or run the following command in your Node-RED user directory - typically ~/.node-red
npm i --save node-red-contrib-sails
Usage
If Path is not specified the required sails url path should be set by using msg.topic
.
msg.payload
should contain the data you wish to send.
The default method is post, but you can override this using msg.method
.
Sails accepts get, post, put, delete and patch.
You may also set headers by using msg.headers
if required.