@makehq/sdk
    Preparing search index...

    Type Alias FetchOptions

    Options for configuring API requests.

    type FetchOptions = {
        body?:
            | Record<string, JSONValue>
            | JSONValue[]
            | string
            | Uint8Array
            | ArrayBuffer;
        headers?: Record<string, string>;
        method?: string;
        onResponse?: (response: Response) => void;
        query?: Record<string, QueryValue>;
        retry?: false;
    }
    Index

    Properties

    body?:
        | Record<string, JSONValue>
        | JSONValue[]
        | string
        | Uint8Array
        | ArrayBuffer

    Request body as an object, string, or raw binary payload

    headers?: Record<string, string>

    HTTP headers to include with the request

    method?: string

    HTTP method (GET, POST, PATCH, etc.)

    onResponse?: (response: Response) => void

    Inspect successful response metadata before parsing. Must not consume the body.

    query?: Record<string, QueryValue>

    Query parameters to append to the URL

    retry?: false

    Disable automatic retries for this request, even when enabled on the client.