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
6 months agoYen
7 months agoMary
7 months agoAshlee
7 months agoDonte
7 months agoRessie
7 months agoMel
7 months agoMaira
7 months agoCelestina
7 months agoLizette
7 months agoHaydee
8 months ago