Hi,
What is the best way to define Base URL of REST API?
REST API URL contains machine name so it would be different from environment to environment. I have many such Integration objects. So i cannot hard code that machine name in all 50 REST API Integration objects. Also i can't use one constant which will cater to all REST API Integration object.
Known solution: Create base constant that is environment specific (Tick - Different environments need to have different values for this constant). Create other 50 constants for fixed REST URL content. Finally in REST integration append base constant with other constants while using.
Discussion posts and replies are publicly visible
Thanks Alok. I need to access data using Integration Objects i.e. REST APIs. I can't configure database into Appian. So i must have to use REST APIs. So the path http://<MachineName><portNo>/api/Client So here for all 50 Integration objects I need to hardcode MachineName in URL so i need best way to handle this situation.