TagoIO SDK for JavaScript and TypeScript
    Preparing search index...

    Interface AnalysisEndpointCallOptions

    interface AnalysisEndpointCallOptions {
        body?: unknown;
        headers?: Record<string, string>;
        method?: AnalysisEndpointMethod;
        path?: string;
        query?: Record<
            string,
            AnalysisEndpointQueryValue
            | AnalysisEndpointQueryValue[],
        >;
    }
    Index

    Properties

    body?: unknown

    A string is sent as is; any other value is sent as JSON. Not allowed with GET and HEAD.

    headers?: Record<string, string>

    Extra request headers.

    "GET"
    
    path?: string

    Path relative to the Endpoint root, e.g. "/hello". Segments are URL-encoded; . and .. are refused.

    "/"
    
    query?: Record<
        string,
        AnalysisEndpointQueryValue
        | AnalysisEndpointQueryValue[],
    >

    Query string values; an array repeats the key.