Using input variable in URL for Service button in form

Hello I have a form where i have a AlertId variable currently display.

i am trying to call an API using the Service button to refresh an element in the form.
I cannot find how to override the parameter. i try defining the url with ${alertId} or just {alertId}

i have the input for this variable as string and required, but when i pass the values nothing is happening. even if i put a default value is not override and i just see the %7BalertId%7D in the url.

Luis Alcantar [6:53 AM]

the only solution was to have a request handler

flwHttpRequest.setUrl(flwHttpRequest.getUrl() + flw.getInput(‘selectedAlertId’))