I'm new to using Node-Red and solving a problem step by step.
I'm trying to do Rest API query for each ID that i've got in "msg.payload.id". For example https://website.com/api/<msg.payload.id>.
At the moment i'm getting all ID-s, which are available with http.request node, then I'm using "change" node to move payload.items to payload. Then I'm using split to break up array. And finally sort to select only those I'm interested in.
And now i'm stuck.
What is the best way to take every objects' unique ID and running http query with them? Setting a global variable won't help. If I could use http request in function node, then a simple for cycle would help.