Variable requestConst

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

Type declaration

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