TreeINFO-For-M365 documentation
    Preparing search index...
    interface RequestConfig {
        baseURL?: string;
        data?: any;
        headers?: Record<string, string>;
        method?: "GET" | "DELETE" | "HEAD" | "OPTIONS" | "POST" | "PUT" | "PATCH";
        params?: any;
        responseType?: "text" | "stream" | "document" | "arraybuffer" | "blob" | "json" | "formdata";
        timeout?: number;
        url: string;
    }
    Index

    Properties

    baseURL?: string

    baseURL will be prepended to url unless url is absolute.

    data?: any

    Request body data Only applicable for methods POST, PUT, PATCH, and DELETE

    headers?: Record<string, string>

    Headers to be sent with the request

    method?: "GET" | "DELETE" | "HEAD" | "OPTIONS" | "POST" | "PUT" | "PATCH"

    HTTP method Allow values are GET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS Default is 'GET'

    params?: any

    Query parameters to be sent with the request

    responseType?: "text" | "stream" | "document" | "arraybuffer" | "blob" | "json" | "formdata"

    The type of data that the server will respond with Allowed values are: 'arraybuffer', 'blob', 'document', 'json', 'text', 'stream', 'formdata' Default is 'json'

    timeout?: number

    Request timeout in milliseconds Default is 0 (no timeout)

    url: string

    Request URL