I'm trying to set up an API call where the URL has a dynamic parameter that I want to retrieve from the form filled out by the user (on a 'form' page, they fill in the city and then validate it; I want that city to be added to the API call URL), but I can't get it to work.
The API looks like "/maps/api/place/textsearch/json?query=restaurants%20in%Marseille"
Where "Marseille" is the city I want to replace
I have linked the input from the user's form to Firebase through the 'Create Document' action via the 'Validate' button, so I'm able to retrieve and store the information in Firebase. However, I don't know how to retrieve it as a variable in the query parameters.