apisauce
apisauce copied to clipboard
Set DefaultParams When have token
api = apisauce.create({ baseURL, headers: { 'Authorization': 'Bearer 12345678', }, params: { guid: token }, timeout: 100000 }) })
I need update token when user login. But i don't change deafault param when token change. I suggest create funtion SetParams to use token for all API. Thank you !
@BunieVu We're not actively adding new features, but we're always open to PR submissions from the community for any features you'd like to see!