Skip to content

Node-RED Integration

Using HTTP Request Node

You can send alerts directly from Node-RED using the built-in HTTP Request node.

REST API Flow

  1. Add an Inject node.
  2. Set msg.payload. Select type JSON and press ...
  3. Enter the following payload:
json
  {
    "dock_id": "<Dock ID>",
    "secret_key": "<Secret Key>",
    "msg": "Hello from Node-RED!"
  }
  1. Add an http request node.
  2. Select Method as POST
  3. Enter URL:
https://api.pingdock.io/ping
  1. Optionally connect to a Debug node to see the response.