jenius-apps / nightingale-rest-api-client

A modern, resource-efficient REST API client for Windows
https://nightingale.rest
MIT License
759 stars 36 forks source link

Recursive variable substitution #250

Open kentcb opened 1 year ago

kentcb commented 1 year ago

Hi,

Love this app - thank you!

One thing I'd like to be able to do is define variables based on other variables, such as:

host = www.example.com port = 80 url = https://{{host}}:{{port}}

However, this doesn't appear to work. Related to this, there is no useful feedback as to what the resulting URL is after substitution. If the substitution works, one has to go looking in the Log tab to find the actual URL. But if it doesn't work, one just gets an "oops" message and is left guessing as to how to resolve the issue. In my case, which is similar to the example above, I can only assume that recursive substitution isn't supported and I'm ending up with a URL of https://{{host}}:{{port}} rather than https://www.example.com:80.