Class: Axios
internal.Axios
Hierarchy
Axios
Properties
defaults
• defaults: AxiosDefaults
<any
>
Defined in
medusa-js/node_modules/axios/index.d.ts:171
interceptors
• interceptors: Object
Type declaration
Name | Type |
---|---|
request | AxiosInterceptorManager <AxiosRequestConfig <any >> |
response | AxiosInterceptorManager <AxiosResponse <any , any >> |
Defined in
medusa-js/node_modules/axios/index.d.ts:172
Methods
delete
▸ delete<T
, R
, D
>(url
, config?
): Promise
<R
>
Type parameters
Name | Type |
---|---|
T | any |
R | AxiosResponse <T , any > |
D | any |
Parameters
Name | Type |
---|---|
url | string |
config? | AxiosRequestConfig <D > |
Returns
Promise
<R
>
Defined in
medusa-js/node_modules/axios/index.d.ts:179
get
▸ get<T
, R
, D
>(url
, config?
): Promise
<R
>
Type parameters
Name | Type |
---|---|
T | any |
R | AxiosResponse <T , any > |
D | any |
Parameters
Name | Type |
---|---|
url | string |
config? | AxiosRequestConfig <D > |
Returns
Promise
<R
>
Defined in
medusa-js/node_modules/axios/index.d.ts:178
getUri
▸ getUri(config?
): string
Parameters
Name | Type |
---|---|
config? | AxiosRequestConfig <any > |
Returns
string
Defined in
medusa-js/node_modules/axios/index.d.ts:176
head
▸ head<T
, R
, D
>(url
, config?
): Promise
<R
>
Type parameters
Name | Type |
---|---|
T | any |
R | AxiosResponse <T , any > |
D | any |
Parameters
Name | Type |
---|---|
url | string |
config? | AxiosRequestConfig <D > |
Returns
Promise
<R
>
Defined in
medusa-js/node_modules/axios/index.d.ts:180
options
▸ options<T
, R
, D
>(url
, config?
): Promise
<R
>
Type parameters
Name | Type |
---|---|
T | any |
R | AxiosResponse <T , any > |
D | any |
Parameters
Name | Type |
---|---|
url | string |
config? | AxiosRequestConfig <D > |
Returns
Promise
<R
>
Defined in
medusa-js/node_modules/axios/index.d.ts:181
patch
▸ patch<T
, R
, D
>(url
, data?
, config?
): Promise
<R
>
Type parameters
Name | Type |
---|---|
T | any |
R | AxiosResponse <T , any > |
D | any |
Parameters
Name | Type |
---|---|
url | string |
data? | D |
config? | AxiosRequestConfig <D > |
Returns
Promise
<R
>
Defined in
medusa-js/node_modules/axios/index.d.ts:184
post
▸ post<T
, R
, D
>(url
, data?
, config?
): Promise
<R
>
Type parameters
Name | Type |
---|---|
T | any |
R | AxiosResponse <T , any > |
D | any |
Parameters
Name | Type |
---|---|
url | string |
data? | D |
config? | AxiosRequestConfig <D > |
Returns
Promise
<R
>
Defined in
medusa-js/node_modules/axios/index.d.ts:182
put
▸ put<T
, R
, D
>(url
, data?
, config?
): Promise
<R
>
Type parameters
Name | Type |
---|---|
T | any |
R | AxiosResponse <T , any > |
D | any |
Parameters
Name | Type |
---|---|
url | string |
data? | D |
config? | AxiosRequestConfig <D > |
Returns
Promise
<R
>
Defined in
medusa-js/node_modules/axios/index.d.ts:183
request
▸ request<T
, R
, D
>(config
): Promise
<R
>
Type parameters
Name | Type |
---|---|
T | any |
R | AxiosResponse <T , any > |
D | any |
Parameters
Name | Type |
---|---|
config | AxiosRequestConfig <D > |
Returns
Promise
<R
>
Defined in
medusa-js/node_modules/axios/index.d.ts:177