I’m trying to forward Webhook output (Headers + Body) to HTTP Request.
I’m dragging the Webhook Headers and Body to the HTTP Request node but it adding that string “[Object: ]” to each of them.
How can I pass all of the body and headers content without adding that string into it?
fyi the [Object: {...}] does not mean that that “string” gets added. It is only supposed to tell you that it is an actual JavaScript object vs. being a stringified one. You will see the difference when you try the two different versions @pemontto posted above.
Thanks @pemontto (and @jan ), {{ JSON.stringify($json) }}
Did worked for me.
Another thing I don’t know how to do:
I need to change 2 parameters at the header of the HTTP Request node. How can I modify just that 2 while I’m taking the whole “Headers” object from the Webhook node?
Modifying just one or two header values works similar to the body approach suggest by @pemontto above. Simply use a Set node before your HTTP Request node overwriting the values you want to overwrite and you’re good.
Thanks @MutedJam that’s helps a lot!
I’m trying to make 2 HTTP Requests with different body\headers modifications and 1 WhatsApp sending message between them.
The first SET > HTTP Request working great but the second one seems to be able to take and modify only his previous node, which is the WhatsApp node.
How can I use the 2nd Set node modifying the first Webhook node?