developit / redaxios

The Axios API, as an 800 byte Fetch wrapper.
https://npm.im/redaxios
Apache License 2.0
4.72k stars 100 forks source link

Support axios `getUri` #63

Open leomp12 opened 3 years ago

leomp12 commented 3 years ago

https://github.com/axios/axios#config-defaults

As "the goal is to support most/all features", supporting all instance methods also seems to be an important feature.

Currently, something like:

let uri = axios.getUri(axiosConfig)

Results in:

TypeError: axios.getUri is not a function

getUri method is specially useful when working with multiple instances, each one with a different baseURL.