API integration

Hi Inactive Member, I am new to the flutterflow. I need to get some clarity on how to do API integration-->
 
1.
There is an exercise list with specific name and id : From API call I am getting all the exercise names, when we select the option from the dropdown along with the option we need to send their specific id to API to update the selected one.

As shown below we have specific id for exercise list, not getting how to pass the id when the user select option from dropdown list



Here I have added action to update the name, similarly I need to update exercise id also, but for id the value should come from dropdown. If I set variable value widget state as a dropdown. The name will be updated in the API but I need the id to be updated.

1
7 replies