Documentation
    Preparing search index...

    Interface RequestData

    Represents possible data to be given to an endpoint

    interface RequestData {
        body?: unknown;
        file?: File | RawFile;
        headers?: HeadersInit;
        query?:
            | string
            | Record<string, string | readonly string[]>
            | URLSearchParams
            | Iterable<[string, string], any, any>
            | readonly [string, string][];
    }

    Hierarchy (View Summary)

    Index

    Properties

    body?: unknown

    The body to send to this request.

    file?: File | RawFile

    File to be attached to this request

    headers?: HeadersInit

    Additional headers to add to this request

    query?:
        | string
        | Record<string, string | readonly string[]>
        | URLSearchParams
        | Iterable<[string, string], any, any>
        | readonly [string, string][]

    Query string parameters to append to the called endpoint