cookbook.nodered.org icon indicating copy to clipboard operation
cookbook.nodered.org copied to clipboard

Feedback on 'Set the URL of a request using a template'

Open Paul-Reed opened this issue 8 years ago • 2 comments

' 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

Paul-Reed avatar Feb 12 '17 10:02 Paul-Reed

Should read 'not specifically msg.post

Paul-Reed avatar Feb 12 '17 10:02 Paul-Reed

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?

mblackstock avatar Jul 26 '17 04:07 mblackstock