node-red-contrib-sails

0.0.2 • Public • Published

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.

Dependents (0)

Package Sidebar

Install

npm i node-red-contrib-sails

Weekly Downloads

0

Version

0.0.2

License

Apache-2.0

Last publish

Collaborators

  • dceejay