Using subflow environment varibles directly within a http request URL?

Hi
I've been searching for a while, but stay uncertain, all my try's failed so far:

Is there any chance or possibility in a subflow to use an environment variable (defined in the subflow properties button) directly within an URL string, for example in a "http request" node?

As an example, I mean something like this:

URL: https//api.xyz.com/device/{{{here comes my var}}}/settings

or

URL: https//api.xyz.com/device/${here comes my var}/settings

Kind regards
Roman

You can not use env vars as part of a value, it must be the whole value.

A solution is to build the full URL before the http-request node and pass it in as msg.url

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.