hoshimi
    Preparing search index...

    Interface RestOptions

    The options for the REST.

    interface RestOptions {
        body?: string | Record<string, unknown>;
        endpoint: `/${string}`;
        headers?: Record<string, string>;
        method?: HttpMethods;
        params?: Record<string, string>;
        pathType?: RestPathType;
    }
    Index

    Properties

    body?: string | Record<string, unknown>

    The body for the REST.

    endpoint: `/${string}`

    The endpoint for the REST.

    headers?: Record<string, string>

    The headers for the REST.

    method?: HttpMethods

    The method for the REST.

    params?: Record<string, string>

    The query parameters for the REST.

    pathType?: RestPathType

    The path type for the REST.