List of variables in HTTP Request

Hi Community,

I want to send in a single HTTP Request for my firewall a list of four or more values that I am getting from my TheHive plataform.

I am seeing that the HTTP Request is doing 4 times and the values are overwriting, but I want to send the 4 values as one and see the 4 values in my firewall policy.

For example I have these 4 values:

And when I send the HTTP Request it looks like this:

How can I send these 4 values as one and see them in my firewall policy.

Thank you very much for your help.

Hi @Paulo_Darquea, welcome to the community!

How can I send these 4 values as one and see them in my firewall policy.

So you’re looking to make a single HTTP request rather than four individual HTTP requests? The HTTP Request node would by default (like almost all n8n nodes) run once for each incoming item.

So one option to make a single HTTP Request only would be to convert your four separate items into a single item, for example using the Item Lists node like so:

This results in a single request being sent to the server like this:

2 Likes

Thank you @MutedJam, that worked.

1 Like

Sweet, thx so much for confirming!