You need to sign in to do that
Don't have an account?
D.M.
Access Remote Site URLs with code
There is a list of "named" remote site URLs.
The endpoint for an HTTP callout has to be in that list.
Is there anyway to define a "remote site URL" named "XYZ" and then in code either use "XYZ" alone or to retrieve the URL for "XYZ" so that one uses the one that is valid.
Rather than hard coding it (which is basic rubbish) or having it in a system setting (which is rubbish because it multiply defines the data)
?