Can I add a variable within a variable

Can I have a variable within a variable? There is a variable that changes after each release (version number) and will change the url each time.

For example, the url is this:

http://someapisit/v.27.22.001/api/something/searchall?phonenumber=9999999999

I want to make the environment variable be this: {{http://someapisit/v.27.22.001/api/something}} , BUT I know that the version number (v.27.22.001) will change after next release.

Is this possible?

1 Like

Hi @martigi

Welcome to the community :wave:

I believe it’s not possible to declare a variable within a variable. Based on your requirement, I would suggest splitting the URL such that the version could easily be updated the next time.

Its possible :slight_smile: and simple

and in URL I use {{api_App_base}}

4 Likes