@barbarbar338/bhapi
    Preparing search index...

    Variable requestConst

    request: {
        delete: <T>(
            path: string,
            config?: AxiosRequestConfig<any>,
        ) => Promise<AxiosResponse<T, any>>;
        get: <T>(
            path: string,
            config?: AxiosRequestConfig<any>,
        ) => Promise<AxiosResponse<T, any>>;
        post: <T>(
            path: string,
            data?: any,
            config?: AxiosRequestConfig<any>,
        ) => Promise<AxiosResponse<T, any>>;
        put: <T>(
            path: string,
            data?: any,
            config?: AxiosRequestConfig<any>,
        ) => Promise<AxiosResponse<T, any>>;
    } = ...

    Request methods for Brawlhalla API

    Type declaration

    • delete: <T>(
          path: string,
          config?: AxiosRequestConfig<any>,
      ) => Promise<AxiosResponse<T, any>>

      Send a DELETE request to the Brawlhalla API

    • get: <T>(
          path: string,
          config?: AxiosRequestConfig<any>,
      ) => Promise<AxiosResponse<T, any>>

      Send a GET request to the Brawlhalla API

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

      Send a POST request to the Brawlhalla API

    • put: <T>(
          path: string,
          data?: any,
          config?: AxiosRequestConfig<any>,
      ) => Promise<AxiosResponse<T, any>>

      Send a PUT request to the Brawlhalla API