Socket
Book a DemoInstallSign in
Socket

node-red-contrib-sails

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-contrib-sails

Node Red client to work with sails server

latest
Source
npmnpm
Version
0.0.2
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

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.

Keywords

node-red

FAQs

Package last updated on 10 Jan 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts