Externalize Configuration of REST Inteface


#1

What are the best practices to avoid hardcoding the URL/endpoint for a REST interface asset?


#2

Hi Justin,

At the moment, the endpoint has to be hardcoded into the .ifd file describing to Composer where the webserice is located.
The only thing you can make dynamic would be the “method” path, where you can use a parameter in the path itself, but it won’t change the server URL.