Administration target REST resource service for deployment

Hi,

I have a question relative to this thread for deployment :

I have a web service that calls an external RESTE service with the http component.
In the URL attributes of the HTTP service, I’ve set the resource using a Global Var (exemple : %url_base_resource%).

Of course the URI will be different depending on the execution environnent.

Is this a good practice to use Global var, or would you advice me to use any other way please ?

Regards

GV is a good option to go with but also check if HTTP URL Aliases meets your requirement.

Thanks M@he$h.

Regards