We have a vanilla Javascript application that uses heavily fetch
for AJAX requests.
As I need to intercept those requests to put some custom headers and other data, we found out that axios
could be a good solution.
As I don't want to modify all the native fetch
calls, is there a way to intercept those fetch
requests with axios
implicitly ?