core.medplumclient.getdefaultheaders
Home > @medplum/core > MedplumClient > getDefaultHeaders
MedplumClient.getDefaultHeaders() method
Returns default headers to include in all requests. This can be used to set custom headers such as Cookies or Authorization headers.
Signature:
getDefaultHeaders(): Record<string, string>;
Returns:
Record<string, string>
Default headers to include in all requests.