From 5d9fd6dc3ba16c7c13be1ae7922939cfcbdd5e40 Mon Sep 17 00:00:00 2001 From: Andrei Ochmat <38989199+aiot-maker@users.noreply.github.com> Date: Wed, 27 Mar 2019 15:45:28 -0300 Subject: [PATCH] Add explanation to the help text on the new feature to build query string from msg.payload --- .../@node-red/nodes/locales/en-US/io/21-httprequest.html | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/node_modules/@node-red/nodes/locales/en-US/io/21-httprequest.html b/packages/node_modules/@node-red/nodes/locales/en-US/io/21-httprequest.html index 703ab3ff0..fcc852c65 100644 --- a/packages/node_modules/@node-red/nodes/locales/en-US/io/21-httprequest.html +++ b/packages/node_modules/@node-red/nodes/locales/en-US/io/21-httprequest.html @@ -61,6 +61,7 @@ url to be constructed using values of the incoming message. For example, if the url is set to example.com/{{{topic}}}, it will have the value of msg.topic automatically inserted. Using {{{...}}} prevents mustache from escaping characters like / & etc.

+

The node can optionally automatically encode msg.payload as query string parameters for a GET request, in which case msg.payload has to be an object.

Note: If running behind a proxy, the standard http_proxy=... environment variable should be set and Node-RED restarted, or use Proxy Configuration. If Proxy Configuration was set, the configuration take precedence over environment variable.

Using multiple HTTP Request nodes

In order to use more than one of these nodes in the same flow, care must be taken with