Hey all,
New Here. Quick question- I am looking to hit an API and it expects a Json of data. I am trying to write different parts of the payload to fields in the api call.
I know im doing something stupid - Any idea what it is?
Pete
Hey all,
New Here. Quick question- I am looking to hit an API and it expects a Json of data. I am trying to write different parts of the payload to fields in the api call.
I know im doing something stupid - Any idea what it is?
Pete
You cannot use msg.xyz
to insert values into a JSON type property.
One alternative is to use the Template node that does support that sort of value substitution.
Right on. I was able to use a template to format the data into the entire request body:
Thanks again,
Pete
What node is that
If you are just doing a HTTP request, you would simply populate msg.payload and pass that to the built in HTTP request node.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.