Access Named Target Servers from nodejs target

Not applicable

Hi,

I need to access Named target server from my nodejs target.

Not sure how to do it without using the management API calls.

Any help will be of great help.

thanks

0 3 183
3 REPLIES 3

@Ravi Shah ,

You can try using Apigee-Access node module in nodejs target to retrieve flow variable "loadbalancing.targetserver" which contains target server details.

Hi Anil,

The "loadbalancing.targetserver" doesn't work. Can you please check.

Thanks.

Hi @Anil Sagar,

The "loadbalancing.targetserver" doesn't work as its scope is in target response only.

The requirement is to first retrieve back end(target) credentials using apigee vault using nodejs (the only way) and then use the same nodejs to call the named target server that is pre-defined.

Do you think this can be achieved some other way ?