node-red-contrib-sails 0.0.2

Node Red client to work with sails server

npm install 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.

Node Info

Version: 0.0.2
Updated 6 years, 10 months ago
License: Apache-2.0
Rating: not yet rated

Actions

Rate:

Downloads

1 in the last week

Nodes

  • sails-config
  • sails-out

Keywords

  • node-red
  • sails

Maintainers