Skip to main content

apiGetBlob

apiGetBlob(endpoint, id?, queryParams?, headers?): Promise<null | Blob | ProblemDetails>

Sends a GET request to retrieve blob from the specified API endpoint.

Parameters

endpoint

string

API endpoint path for the blob resource.

id?

string

Optional resource identifier to append to the endpoint.

queryParams?

NameValue[]

NameValue - Optional array of query parameters to include in the request.

headers?

Headers

Optional custom headers to include in the request.

Returns

Promise<null | Blob | ProblemDetails>

Promise that resolves to the blob response from the API.