@fluentity/core
    Preparing search index...

    Variable MethodsConst

    Methods: {
        DELETE: "DELETE";
        GET: "GET";
        HEAD: "HEAD";
        OPTIONS: "OPTIONS";
        PATCH: "PATCH";
        POST: "POST";
        PUT: "PUT";
    } = ...

    HTTP method constants for use in requests. Provides type-safe HTTP method names.

    Type declaration

    • ReadonlyDELETE: "DELETE"

      HTTP DELETE method

    • ReadonlyGET: "GET"

      HTTP GET method

    • HTTP HEAD method

    • ReadonlyOPTIONS: "OPTIONS"

      HTTP OPTIONS method

    • ReadonlyPATCH: "PATCH"

      HTTP PATCH method

    • ReadonlyPOST: "POST"

      HTTP POST method

    • ReadonlyPUT: "PUT"

      HTTP PUT method

    const method: MethodType = Methods.POST;