@b-jones-rfd/sp-rest-connect - v5.1.1
    Preparing search index...

    Interface BatchRequest

    One sub-request of a $batch call.

    interface BatchRequest {
        body?: string | Record<string, unknown>;
        headers?: Record<string, string>;
        method: BatchMethod;
        path: string;
    }
    Index
    body?: string | Record<string, unknown>

    JSON body (object) or pre-serialised string.

    headers?: Record<string, string>

    Extra headers. Defaults: Accept: application/json;odata=nometadata, Content-Type: application/json;odata=verbose when there is a body, and If-Match: * for PATCH/MERGE/DELETE.

    method: BatchMethod
    path: string

    Site-relative REST path starting with _api/, e.g. _api/web/lists/GetByTitle('Tasks')/items?$top=5, or an absolute URL on the connection's own origin.