Send JSON array to a webhook

I want to combine a set of bundles into one json array and send it to a webhook, how do I go about doing that? I tried running the bundles through a text aggregator and encapsulating the output with brackets then into a HTTP POST request, but the webhook in question stalls and I have to force stop the webhook in order for the process to end.

I know that the JSON format is correct in the Text aggregator as I had used the same exact format in other modules.

Hi @Adova_Rius, I’d advise to parse json from this text aggregator (i’m assuming you already tried because you’re so sure of the format). and export the output json manually into Postman. Try POST request from postman while the other webhook is turned on. Same result ? Is your webhook link correct ? Can you reduce a little the payload to see if it’s a size issue ?

I’ve tried that exact same thing earlier, and yes, the webhook accepts the json array using Postman, but when I try to send the same json array to the webhook using the HTTP module, the scenario stalls and I had to force stop the scenario.

What worked was sending the json query as plaintext and using a parse JSON module with closing brackets mimic’ed what I want. But I’d like to remove the parse JSON middleman and just receive the json array as bundles using the webhook, similar to when I used Postman prior.

@Adova_Rius, The difference between the postman and make method probably is that in Make you’re passing a json IN a json. HTTP should automatically pass the input variable as a json object…

What I’m sending in the body of the HTTP request module is a raw/application-json. The request content is as follows, an example:

[
    {
        "A": 1,
        "B": "One"
    },
    {
        "A": 2,
        "B": "Two"
    }
]

This example generates the problem that I’m having in make, but with Postman, its working fine.