@dtwojs/axios
v5.13.6
Published
Secure and easy Axios integration with Dtwo.js
Downloads
3
Readme
@dtwojs/axios
Features
- Automatically set base URL for client & server side
- Exposes
setToken
function to$axios
so we can easily and globally set authentication tokens - Automatically enables
withCredentials
when requesting to base URL - Proxy request headers in SSR
- Fetch Style requests
- Integrated with Dtwo progress bar
- Integrated with Proxy Module
- Auto retry requests with axios-retry
📑 License
Copyright (c) Dtwo Community