Apidog provides pm.request.getBaseUrl() to retrieve the base URL of the current endpoint.It's recommended to use this method instead of pm.environment.get('BASE_URL'), as the latter might not return the correct base URL if the endpoint doesn't use the default server.For more details on services and base URLs, see Environments & services.