Need Help with Sending Array for POST API in Body

Database & APIs

I'm currently working on integrating a POST API that accepts an array in the format [1, 23, ...]. I have managed to maintain an app state with a List<int> that holds the data I want to send. However, I'm facing an issue when trying to create a variable that can take this List<int> and use it in the API body.

What have you tried so far?

I need to send this list as part of the body in a POST request, but I'm not sure how to properly format or encode it to match the API's requirements.

Does anyone have experience with this or a similar implementation? How can you format a List<int> to be accepted in the body of a POST request in FlutterFlow? Any pointers or example snippets would be greatly appreciated!

Thank you in advance for your help!

Did you check FlutterFlow's Documentation for this topic?
Yes
4