The typical Angular HttpInterceptor won't intercept XmlHttpRequests sent explicitly. Here you can find an example of how to do it in Angular.
How to intercept XmlHttpRequests in Angular with HttpInterceptor
The typical Angular HttpInterceptor won't intercept XmlHttpRequests sent explicitly. Here you can find an example of how to do it in Angular.
How to intercept XmlHttpRequests in Angular with HttpInterceptor