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