Passing objects to external APIs

Hi!

I want to pass an object to an external api, but I always get an empty string on the other end. Is this possible with the current ui?

Example:

Result:

I would greatly appreciate any insights or suggestions!

1 Like

You should stringify ( JSON.stringify(Object) ) your object and then parse it in the receiving api ( JSON.parse(object) )

Thanks for your reply. Unfortunately, I don’t have access to the receiving end :confused:

What does it say in the receiving end’s docs then? How do they want you to send the request exactly?

It looks from the idents like the API action is outside the scope of the “Set value” stages so unless you have defined and used a global scope for the set values they will not see the content of the set value stages.
Either move the API call into the EXEC or define them with global scope and use the global names

image