How to pass ALL binaries with HTTP request node

Hello,
What is the best way to make an HTTP request that includes both JSON body data and all binary files from the previous step?

I can handle a single binary with proper mapping, but the challenge is that the previous step may return anywhere from 1 to 10 binary files, and I need to include all of them in the request.

What’s the recommended approach for this scenario?

Thanks!

While there are no answers, sharing a workaround I found, if someone has the same use case. Basically compressing all binaries to a ZIP and POST’ing it with single binary file makes the magic.

1 Like

Why did not you use the compression node?

Why I did or why I didn’t? I didn’t, because it doesn’t compress all binaries to single ZIP or I misusing the node :slight_smile:

What is the output of the HTTP node. Multiple items with binary data or one item with multiple binary data? A sample of the output would be helpful .

For example, assuming that you have multiple binary files in the same item

Now i got a point. What i was needed its node is this expression {{ Object.keys($binary).join(', ') }}, which list binaries like ‘file_0, file_1’. So basically Compress node works in this case

1 Like

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