Skip to main content

Class: Axios

internal.Axios

Hierarchy

Properties

defaults

defaults: AxiosDefaults<any>

Defined in

medusa-js/node_modules/axios/index.d.ts:171


interceptors

interceptors: Object

Type declaration

NameType
requestAxiosInterceptorManager<AxiosRequestConfig<any>>
responseAxiosInterceptorManager<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

NameType
Tany
RAxiosResponse<T, any>
Dany

Parameters

NameType
urlstring
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

NameType
Tany
RAxiosResponse<T, any>
Dany

Parameters

NameType
urlstring
config?AxiosRequestConfig<D>

Returns

Promise<R>

Defined in

medusa-js/node_modules/axios/index.d.ts:178


getUri

getUri(config?): string

Parameters

NameType
config?AxiosRequestConfig<any>

Returns

string

Defined in

medusa-js/node_modules/axios/index.d.ts:176


head<T, R, D>(url, config?): Promise<R>

Type parameters

NameType
Tany
RAxiosResponse<T, any>
Dany

Parameters

NameType
urlstring
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

NameType
Tany
RAxiosResponse<T, any>
Dany

Parameters

NameType
urlstring
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

NameType
Tany
RAxiosResponse<T, any>
Dany

Parameters

NameType
urlstring
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

NameType
Tany
RAxiosResponse<T, any>
Dany

Parameters

NameType
urlstring
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

NameType
Tany
RAxiosResponse<T, any>
Dany

Parameters

NameType
urlstring
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

NameType
Tany
RAxiosResponse<T, any>
Dany

Parameters

NameType
configAxiosRequestConfig<D>

Returns

Promise<R>

Defined in

medusa-js/node_modules/axios/index.d.ts:177

Was this page helpful?