AxiosInstance
Callable
AxiosInstance
AxiosInstance(config
): AxiosPromise
<any
>
Parameters
config
AxiosRequestConfig<any>RequiredReturns
AxiosPromise
<any
>
AxiosInstance
AxiosInstance(url
, config?
): AxiosPromise
<any
>
Parameters
url
stringRequiredconfig
AxiosRequestConfig<any>Returns
AxiosPromise
<any
>
Properties
interceptors
objectRequiredMethods
delete
delete<T
, R
, D
>(url
, config?
): Promise
<R
>
T
objectRequiredR
objectRequiredD
objectRequiredParameters
url
stringRequiredconfig
AxiosRequestConfig<D>Returns
Promise
<R
>
Promise
Promise<R>RequiredInherited from
get
get<T
, R
, D
>(url
, config?
): Promise
<R
>
T
objectRequiredR
objectRequiredD
objectRequiredParameters
url
stringRequiredconfig
AxiosRequestConfig<D>Returns
Promise
<R
>
Promise
Promise<R>RequiredInherited from
getUri
getUri(config?
): string
Parameters
config
AxiosRequestConfig<any>Returns
string
string
stringInherited from
head
head<T
, R
, D
>(url
, config?
): Promise
<R
>
T
objectRequiredR
objectRequiredD
objectRequiredParameters
url
stringRequiredconfig
AxiosRequestConfig<D>Returns
Promise
<R
>
Promise
Promise<R>RequiredInherited from
options
options<T
, R
, D
>(url
, config?
): Promise
<R
>
T
objectRequiredR
objectRequiredD
objectRequiredParameters
url
stringRequiredconfig
AxiosRequestConfig<D>Returns
Promise
<R
>
Promise
Promise<R>RequiredInherited from
patch
patch<T
, R
, D
>(url
, data?
, config?
): Promise
<R
>
T
objectRequiredR
objectRequiredD
objectRequiredParameters
url
stringRequireddata
Dconfig
AxiosRequestConfig<D>Returns
Promise
<R
>
Promise
Promise<R>RequiredInherited from
post
post<T
, R
, D
>(url
, data?
, config?
): Promise
<R
>
T
objectRequiredR
objectRequiredD
objectRequiredParameters
url
stringRequireddata
Dconfig
AxiosRequestConfig<D>Returns
Promise
<R
>
Promise
Promise<R>RequiredInherited from
put
put<T
, R
, D
>(url
, data?
, config?
): Promise
<R
>
T
objectRequiredR
objectRequiredD
objectRequiredParameters
url
stringRequireddata
Dconfig
AxiosRequestConfig<D>Returns
Promise
<R
>
Promise
Promise<R>RequiredInherited from
request
request<T
, R
, D
>(config
): Promise
<R
>
T
objectRequiredR
objectRequiredD
objectRequiredParameters
config
AxiosRequestConfig<D>RequiredReturns
Promise
<R
>
Promise
Promise<R>RequiredInherited from
Was this section helpful?