## MedplumClient.download() method [​](/content/docs/sdk/core.medplumclient.download#medplumclientdownload-method/index.html)

Downloads the URL as a blob. Can accept binary URLs in the form of `Binary/{id}` as well.

**Signature:**

```typescript
download(url: URL | string, options?: MedplumRequestOptions): Promise<Blob>;
```

## Parameters [​](/content/docs/sdk/core.medplumclient.download#parameters/index.html)

| Parameter | Type | Description |
| --- | --- | --- |
| url | URL \| string | The URL to request. Can be a standard URL or one in the form of `Binary/{id}`. |
| options | [MedplumRequestOptions](/content/docs/sdk/core.medplumrequestoptions) | _(Optional)_ Optional fetch request init options. |

**Returns:**

Promise<Blob>

Promise to the response body as a blob.

- [MedplumClient.download() method](/content/docs/sdk/core.medplumclient.download#medplumclientdownload-method/index.html)
- [Parameters](/content/docs/sdk/core.medplumclient.download#parameters/index.html)
