POST Request: dynamically send an array (list) in a JSON

Hey everyone,
I need to send a POST Request to an API. This post request contains a field “envs”, which contains an array of objects (each of those contains a “key” and a “value” - both strings) (See screenshot).

I cannot simply hardcode this information into the request. Instead, I need to fill it depending on a table, which contains all of the required envs (environment variables):

I already understood how to use the <> operators to insert dynamic values into the request, however, I am not sure how to do this with an array of objects.
Is this possible with bubble?

Thank you very much!

1 Like

I’m also having a hard time with this. Any idea how to do this?

I ended up deploying a Vercel function (as Middleware) that pre-processed the data and use the result of the vercel function for the intended API call.
This is a little inconvenient but turns out to be the only option

1 Like

How can I use the vercel function?