Gawan
1
Hi,
I pass the following payload from a function node to my http-request node:
msg.payload = "&value=100&format=json";
The setup looks like this:
Unfortunately I get an "invalid payload" error as you can see in the debugging tab.
Any idea why ?
BR
G
Hi,
the 'append msg.payload as qs params' assumes that msg.payload will be an object of key/value pairs that it will convert to a query string for you.
So if you use:
msg.payload = {
value: 100,
format: "json"
}
it will then do the right thing.
system
Closed
3
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.