Function binaryRequest

  • Sends a request using the specified options and returns the response.

    Type Parameters

    • Req

    Parameters

    • options: ClientRequest<Req>

      The options for the request.

      Represents a client for making requests to a service provider.

      • OptionalacceptType?: string
      • Optionalbody?: Req
      • OptionalcontentType?: string
      • Optionalheaders?: Record<string, any>
      • method: "GET" | "POST"
      • OptionaloriginMethod?: string
      • Optionaloverrides?: ClientHeadersType & { API_KEY?: string; WITH_CREDENTIALS?: boolean } & {
            AUTH_TOKEN?: string;
        }
      • Optionalparams?: any
      • url: string
    • client: Client

      The client used to make the request.

    Returns Promise<ClientResponse<Buffer<ArrayBufferLike>>>

    The response from the request.

MMNEPVFCICPMFPCPTTAAATR