How to make an angular module to ignore http interceptor added in a core module - Stack Overflow

PHOTO EMBED

Thu Jun 16 2022 08:44:09 GMT+0000 (UTC)

Saved by @saranraj #angular

import { HttpClient, ..., HttpBackend } from '@angular/common/http';

@Injectable()
export class TestService {

  private httpClient: HttpClient;

  constructor( handler: HttpBackend) { 
     this.httpClient = new HttpClient(handler);
  }
....
content_copyCOPY

https://stackoverflow.com/questions/46469349/how-to-make-an-angular-module-to-ignore-http-interceptor-added-in-a-core-module