Hello everyone,
the use of API calls and JSON in FlutterFlow with Supabase is still relatively new to me. Perhaps my question is therefore easy to answer, but unfortunately I have not found anything in the FlutterFlow documentation, the FlutterFlow community forum or via Google.
The setup described here takes place in an action chain that is triggered when a button is pressed.
(1) GET API call, which returns the following result from Supabase.
(2) For control purposes, I display the last two columns, let's call them col5 and col6, in an information dialogue using $[:].col5 and $[:].col6. As you can see in the following screenshot, the values are output correctly.
(3) Now I want to pass these values to a POST API call. Its parameters include two BIGINT arrays that are to be filled with the values in col5 and col6. However, if I now parameterise with $[:].col5 and $[:].col6, the POST API call is not executed successfully.
But in principle it works, as I have tested this with the "Test API Call" function, see screenshot. The required tables are also filled correctly in Supabase.
I have tried different ways to address the columns, i.e. $[:].col5 , $[*].col5 or $.col5 - but none of them led to the desired result. But perhaps the error in thinking is elsewhere.
I would be very grateful for any tips!