cookbook.nodered.org
cookbook.nodered.org copied to clipboard
Feedback on 'Set the URL of a request using a template'
' The Change node changes this to msg.post'
Does the change node serve any purpose in this example?
The http request node info reads;
'..if the url is set to example.com/{{{topic}}}, it will have the value of msg.topic automatically inserted.'
i.e. msg.topic not msg.post
Should read 'not specifically msg.post
The example demonstrates how to set the URL of a request using a template. The change node moves the 2 in message.payload
from the inject node to message.post
. I suppose I could have put the 2 in the topic
field using the inject node, and skipped the change node. Would this be clearer?