resolveUrl
Resolves the given RestRequest to its URL.
Return
The URI associated with the Rest request.
Parameters
request
The Rest request to resolve.
Resolves the given path against the community URL or the instance URL, depending on whether the user is a community user or not.
Return
Resolved URL.
Parameters
path
Path.
Resolves the given path against the community URL, login URL, or instance URL. If the user is a community user, the community URL will be used. Otherwise, the URL will be built from the RestRequest.RestEndpoint parameter.
Return
Resolved URL.
Parameters
path
Path
endpoint
The Rest endpoint of the URL.