Closed abisalde closed 2 years ago
@abisalde try reading on this thread, you might get the info you need : https://github.com/infinitered/apisauce/issues/129
@abisalde I am going to close this as an issue as its more to do with proper way of doing things instead of an issue with the package
Default baseURL
NewBase URL
const newApi = apiClient.setBaseUrl('https://192.168.152.20/api')
const newHeader = newApi.setHeader('Authorization', 'token here'); // Error as I can use the call for AxiosInstance
How can I go about setting Header for the newApi.