import { useRequest } from '@tonyptang/request'
const {
instance: axiosInstance,
get,
del,
head,
options,
post,
put,
patch,
purge
} = useRequest({} /* AxiosConfig */, {} /* transformKey config */)
get(``, AxiosConfig, transformKeyConfig)
axiosInstance.interceptors.request.use(c => c)
@tonyptang/request
0.1.0 • Public • PublishedPackage Sidebar
Install
npm i @tonyptang/request
Repository
Weekly Downloads
1
Version
0.1.0
License
ISC
Unpacked Size
12.4 kB
Total Files
5