The base URL endpoint that may contain a path component
The path to append to the endpoint (may include query parameters)
OptionalqueryParams: Record<string, string | undefined>Optional additional query parameters to append
The properly combined URL string
Properly combines a base URL endpoint with a path, preserving any base path in the endpoint.