Hi,
I need to use an API that includes a partially dynamic URL as shown below.
.../2020/teams/{{teamUrlCode}}/roster.json
The dynamic section is defined with the {{teamURLCode}}
string that should be changed accordingly to the team name (such as teamA, teamB, teamC).
My question is quite simple:
- How to properly set the API call on the API connector to tell bubble it should look for a dynamic value?
- How to properly add this value when making the call in-app ?
Use case-example:
I have a list of team coming form an API call displayed and for each team, a button âsee rosterâ. The API call gives me the teamUrlCode
(among other data).
When I clic on that button, I go to the team roster page and show the list of players for this team. To show that roster list, I need to trigger an second API call to gather the data to be displayed on this page upon which team âsee rosterâ button was clicked. I assume I can pass the teamUrlCode
with the clicked button but then, I donât see how to inject in the API call the dynamic teamUrlCode
value.
Thanks