Execute HTTP request for each element in array

Hello everyone, I just started working with Node-Red and I love the simplicity about it.
But due to the simplicity, I am unable to find an answer to my question "Is it possible, to execute an HTTP request for each element in an array?".

In my scenario, I have an array of id's, and I would like to have one object containing all objects connected to these id's. I just can't seem to figure out how to GET all these objects, since (in my view) I am only able to use one query-string parameter in my URL.

Could someone please help me with this? I thank you all for your time!

Use a Split node to turn your one message into a sequence of messages - one for each element in the array. You can then pass them to an http request node to make the individual requests, and then use a Join node to recombine the message sequence back into a single message.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.