Okay, I've got an idea. I think the answer is Remote Site Settings or Named Credentials. Those both allow you to define the external URLs in a separate configuration, so you can update them without changing the Apex code. I'm leaning towards Named Credentials since that seems more robust.
upvoted 0 times
...
Log in to Pass4Success
Sign in:
Report Comment
Is the comment made by USERNAME spam or abusive?
Commenting
In order to participate in the comments you need to be logged-in.
You can sign-up or
login
Willetta
4 months agoYen
4 months agoMary
4 months agoAshlee
4 months agoDonte
5 months agoRessie
5 months agoMel
5 months agoMaira
5 months agoCelestina
5 months agoLizette
5 months agoHaydee
5 months ago