get target servers into JS

Is it possible to get target servers defined under environment configuration into Java Script?

1 2 652
2 REPLIES 2

Not applicable

@Mahammad Feroz,

As suggested by @Trung Lam, you can use management APIs to get the target servers and get them into a variable or cache/KVM and use them as appropriately in your Javascript code. Or you can also use Node.js to do this,

Do refer to this community post which talks about your requirement in more detail.

Regards,

Amar