Join GitHub today
Expose Axios client/module from the HttpService #842
I'm submitting a...
The HttpService hides does not provide core Axios capabilities such as interceptors / transformers.
Full access to Axios capabilities, by exposing the Axios instance used by the HttpModule. We could possibly also create new Axios clients for each HttpService instantiated, which will provide more granular control.
What is the motivation / use case for changing the behavior?
My primary use case is for debugging Axios requests, which is currently painful, as in a chain of requests, the logs do not specify where a request has failed. Adding an interceptor to the Axios instance would easily provide visibility into what is being requested and identify where the system is failing.
I'd be happy to pick this up if it makes sense