Skip to main content

core.medplumclient.getbaseurl

Home > @medplum/core > MedplumClient > getBaseUrl

MedplumClient.getBaseUrl() method

Returns the current base URL for all API requests. By default, this is set to https://api.medplum.com/. This can be overridden by setting the baseUrl option when creating the client.

Signature:

getBaseUrl(): string;

Returns:

string

The current base URL for all API requests.