Pass variable to create URL in a GET API

You may still like to handle the retry yourself but something like this might work