Am attempting to use environment variable substitution and am running into issues using a ‘/’ character in a destination string. I’m sure there is an obvious fix but can’t quite figure it out.
If I have an environment variable of:
destination: dev.myserver.com/v2
And have a route containing:
https://[$destination]/lte_unitupdate
I will get an error of:
error building route request: error creating new web request: parse "https://dev.myserver.com%2Fv2/lte_unitupdate": invalid URL escape "%2F"
I am sure I can make a workaround but is there a way to use the ‘/’ character in an environment variable substitution? Thanks.