API Reference > imodeljs-clients > iModelHubClient > IModelBaseHandler > getUrl getUrl Method Get the URL of the service. This method attempts to discover and cache the URL from the URL Discovery Service. If not found uses the default URL provided by client implementations. Note that for consistency sake, the URL is stripped of any trailing "/" getUrl(requestContext: ClientRequestContext): Promise<string> Parameter Type Description requestContext ClientRequestContext Returns - Promise<string> URL for the service Defined in core/clients/src/imodelhub/BaseHandler.ts Line 110 Last Updated: 13 June, 2024