Cell API
    Preparing search index...

    Interface RestOperations

    interface RestOperations {
        defaults: Omit<AxiosDefaults<any>, "headers"> & {
            headers: HeadersDefaults & {
                [key: string]: string | number | boolean | undefined;
            };
        };
        interceptors: {
            request: AxiosInterceptorManager<AxiosRequestConfig<any>>;
            response: AxiosInterceptorManager<AxiosResponse<any, any>>;
        };
        delete<T = any, R = AxiosResponse<T, any>, D = any>(
            url: string,
            config?: AxiosRequestConfig<D>,
        ): Promise<R>;
        get<T = any, R = AxiosResponse<T, any>, D = any>(
            url: string,
            config?: AxiosRequestConfig<D>,
        ): Promise<R>;
        getUri(config?: AxiosRequestConfig<any>): string;
        head<T = any, R = AxiosResponse<T, any>, D = any>(
            url: string,
            config?: AxiosRequestConfig<D>,
        ): Promise<R>;
        options<T = any, R = AxiosResponse<T, any>, D = any>(
            url: string,
            config?: AxiosRequestConfig<D>,
        ): Promise<R>;
        patch<T = any, R = AxiosResponse<T, any>, D = any>(
            url: string,
            data?: D,
            config?: AxiosRequestConfig<D>,
        ): Promise<R>;
        patchForm<T = any, R = AxiosResponse<T, any>, D = any>(
            url: string,
            data?: D,
            config?: AxiosRequestConfig<D>,
        ): Promise<R>;
        post<T = any, R = AxiosResponse<T, any>, D = any>(
            url: string,
            data?: D,
            config?: AxiosRequestConfig<D>,
        ): Promise<R>;
        postForm<T = any, R = AxiosResponse<T, any>, D = any>(
            url: string,
            data?: D,
            config?: AxiosRequestConfig<D>,
        ): Promise<R>;
        put<T = any, R = AxiosResponse<T, any>, D = any>(
            url: string,
            data?: D,
            config?: AxiosRequestConfig<D>,
        ): Promise<R>;
        putForm<T = any, R = AxiosResponse<T, any>, D = any>(
            url: string,
            data?: D,
            config?: AxiosRequestConfig<D>,
        ): Promise<R>;
        request<T = any, R = AxiosResponse<T, any>, D = any>(
            config: AxiosRequestConfig<D>,
        ): Promise<R>;
        <T = any, R = AxiosResponse<T, any>, D = any>(
            config: AxiosRequestConfig<D>,
        ): Promise<R>;
        <T = any, R = AxiosResponse<T, any>, D = any>(
            url: string,
            config?: AxiosRequestConfig<D>,
        ): Promise<R>;
    }

    Hierarchy

    • AxiosInstance
      • RestOperations
    Index
    defaults: Omit<AxiosDefaults<any>, "headers"> & {
        headers: HeadersDefaults & {
            [key: string]: string | number | boolean | undefined;
        };
    }
    interceptors: {
        request: AxiosInterceptorManager<AxiosRequestConfig<any>>;
        response: AxiosInterceptorManager<AxiosResponse<any, any>>;
    }
    • Type Parameters

      • T = any
      • R = AxiosResponse<T, any>
      • D = any

      Parameters

      • url: string
      • Optionalconfig: AxiosRequestConfig<D>

      Returns Promise<R>

    • Type Parameters

      • T = any
      • R = AxiosResponse<T, any>
      • D = any

      Parameters

      • url: string
      • Optionalconfig: AxiosRequestConfig<D>

      Returns Promise<R>

    • Parameters

      • Optionalconfig: AxiosRequestConfig<any>

      Returns string

    • Type Parameters

      • T = any
      • R = AxiosResponse<T, any>
      • D = any

      Parameters

      • url: string
      • Optionalconfig: AxiosRequestConfig<D>

      Returns Promise<R>

    • Type Parameters

      • T = any
      • R = AxiosResponse<T, any>
      • D = any

      Parameters

      • url: string
      • Optionalconfig: AxiosRequestConfig<D>

      Returns Promise<R>

    • Type Parameters

      • T = any
      • R = AxiosResponse<T, any>
      • D = any

      Parameters

      • url: string
      • Optionaldata: D
      • Optionalconfig: AxiosRequestConfig<D>

      Returns Promise<R>

    • Type Parameters

      • T = any
      • R = AxiosResponse<T, any>
      • D = any

      Parameters

      • url: string
      • Optionaldata: D
      • Optionalconfig: AxiosRequestConfig<D>

      Returns Promise<R>

    post

    • post<T = any, R = AxiosResponse<T, any>, D = any>(
          url: string,
          data?: D,
          config?: AxiosRequestConfig<D>,
      ): Promise<R>

      Type Parameters

      • T = any
      • R = AxiosResponse<T, any>
      • D = any

      Parameters

      • url: string
      • Optionaldata: D
      • Optionalconfig: AxiosRequestConfig<D>

      Returns Promise<R>

    • Type Parameters

      • T = any
      • R = AxiosResponse<T, any>
      • D = any

      Parameters

      • url: string
      • Optionaldata: D
      • Optionalconfig: AxiosRequestConfig<D>

      Returns Promise<R>

    • Type Parameters

      • T = any
      • R = AxiosResponse<T, any>
      • D = any

      Parameters

      • url: string
      • Optionaldata: D
      • Optionalconfig: AxiosRequestConfig<D>

      Returns Promise<R>

    • Type Parameters

      • T = any
      • R = AxiosResponse<T, any>
      • D = any

      Parameters

      • url: string
      • Optionaldata: D
      • Optionalconfig: AxiosRequestConfig<D>

      Returns Promise<R>

    • Type Parameters

      • T = any
      • R = AxiosResponse<T, any>
      • D = any

      Parameters

      • config: AxiosRequestConfig<D>

      Returns Promise<R>