Variable requestConst

request: {
    delete: (
        url: string,
        config?: JSONObject,
    ) => Promise<AxiosResponse<any, any>>;
    get: (url: string, config?: JSONValue) => Promise<AxiosResponse<any, any>>;
    patch: (
        url: string,
        data?: JSONValue,
        config?: JSONObject,
    ) => Promise<AxiosResponse<any, any>>;
    post: (
        url: string,
        data?: JSONValue,
        config?: JSONObject,
    ) => Promise<AxiosResponse<any, any>>;
    put: (
        url: string,
        data?: JSONValue,
        config?: JSONObject,
    ) => Promise<AxiosResponse<any, any>>;
} = ...

Type declaration

  • delete: (url: string, config?: JSONObject) => Promise<AxiosResponse<any, any>>
  • get: (url: string, config?: JSONValue) => Promise<AxiosResponse<any, any>>
  • patch: (
        url: string,
        data?: JSONValue,
        config?: JSONObject,
    ) => Promise<AxiosResponse<any, any>>
  • post: (
        url: string,
        data?: JSONValue,
        config?: JSONObject,
    ) => Promise<AxiosResponse<any, any>>
  • put: (
        url: string,
        data?: JSONValue,
        config?: JSONObject,
    ) => Promise<AxiosResponse<any, any>>