Question from the Angular test

How to bypass interceptors when making a HTTP request in Angular?

Medium

How to bypass interceptors when making a HTTP request ?

Author: ChloéStatus: PublishedQuestion passed 427 times
Edit
1
Community Evaluations
developer avatar
Guy
13/11/2024
import { HttpClient, ..., HttpBackend } from '@angular/common/http'; @Injectable() export class TestService { private httpClient: HttpClient; constructor( handler: HttpBackend) { this.httpClient = new HttpClient(handler); }