Brian
Brian3mo ago

Array Flattener node's return type is set to "object"

It should be of type array.
2 Replies
AI Support
AI Support3mo ago
Processing...
🤖 Engaging cognitive circuits. 💡 this might take a couple of minutes... beep boop
AI Support
AI Support3mo ago
🤖 AI Response
To send an array using the API Call Node in BuildShip, you should include your array in the Body field, formatted as a valid JSON array. The node supports both JSON objects and arrays when the Content Type is set to application/json, which is the default setting. For example, to send an array, your body should look like:
[
{"item": "value1"},
{"item": "value2"}
]
[
{"item": "value1"},
{"item": "value2"}
]
Ensure that the Content Type remains application/json so the array is properly serialized in the request. The documentation and tutorials confirm that the Body field is designed to accept JSON data, including arrays, and the Content Type setting ensures correct handling by the receiving API. 🔗 References: 1. https://docs.buildship.com/utility-nodes/api-call-node 2. https://docs.buildship.com/tutorials 3. https://buildship.com/integrations/apps/buildship-workflows-and-buildship-database 4. https://support.buildship.com/m/1251956824513450005 5. https://www.youtube.com/watch?v=BhglVhy38_g
BuildShip AI Support

Did you find this page helpful?