- default<T = any, R = axios.AxiosResponse<T>, D = any>(
config: AxiosRequestConfig<D>,
): Promise<R> Returns Promise<R>
- default<T = any, R = axios.AxiosResponse<T>, D = any>(
url: string,
config?: AxiosRequestConfig<D>,
): Promise<R> Returns Promise<R>
Properties
all
all: <T>(values: (
T | Promise<T>)
[]) => Promise<T[]> Axios
AxiosError
AxiosHeaders
Cancel
CanceledError
CancelToken
defaults
formToJSON
getAdapter
getAdapter: ( adapters: undefined | AxiosAdapterConfig | AxiosAdapterConfig[],) => AxiosAdapter HttpStatusCode
interceptors
isAxiosError
isAxiosError: <T = any, D = any>(payload: any) => payload is AxiosError<T, D> isCancel
isCancel: (value: any) => value is Cancel spread
spread: <T, R>(callback: (...args: T[]) => R) => (array: T[]) => R toFormData
Readonly
VERSION
VERSION: string
Methods
delete
- delete<T = any, R = axios.AxiosResponse<T>, D = any>(
url: string,
config?: AxiosRequestConfig<D>,
): Promise<R> Returns Promise<R>
get
- get<T = any, R = axios.AxiosResponse<T>, D = any>(
url: string,
config?: AxiosRequestConfig<D>,
): Promise<R> Returns Promise<R>
getUri
- getUri(config?: AxiosRequestConfig): string
Returns string
head
- head<T = any, R = axios.AxiosResponse<T>, D = any>(
url: string,
config?: AxiosRequestConfig<D>,
): Promise<R> Returns Promise<R>
options
- options<T = any, R = axios.AxiosResponse<T>, D = any>(
url: string,
config?: AxiosRequestConfig<D>,
): Promise<R> Returns Promise<R>
patch
- patch<T = any, R = axios.AxiosResponse<T>, D = any>(
url: string,
data?: D,
config?: AxiosRequestConfig<D>,
): Promise<R> Returns Promise<R>
patchForm
- patchForm<T = any, R = axios.AxiosResponse<T>, D = any>(
url: string,
data?: D,
config?: AxiosRequestConfig<D>,
): Promise<R> Returns Promise<R>
post
- post<T = any, R = axios.AxiosResponse<T>, D = any>(
url: string,
data?: D,
config?: AxiosRequestConfig<D>,
): Promise<R> Returns Promise<R>
postForm
- postForm<T = any, R = axios.AxiosResponse<T>, D = any>(
url: string,
data?: D,
config?: AxiosRequestConfig<D>,
): Promise<R> Returns Promise<R>
put
- put<T = any, R = axios.AxiosResponse<T>, D = any>(
url: string,
data?: D,
config?: AxiosRequestConfig<D>,
): Promise<R> Returns Promise<R>
putForm
- putForm<T = any, R = axios.AxiosResponse<T>, D = any>(
url: string,
data?: D,
config?: AxiosRequestConfig<D>,
): Promise<R> Returns Promise<R>