Top "Angular-httpclient" questions

Angular HttpClient is the new HTTP client of Angular since version 4.3 from the @angular/common/http package.

Calling Http.post does not trigger a post in angular 6

I generated my entities components and services according to my model using this tool. Everything worked fine, but I ran …

angular http angular6 angular-httpclient
Angular 5 HttpClient Interceptor JWT refresh token unable to Catch 401 and Retry my request

I am trying to implement a catch for 401 responses and tried obtaining a refresh token based on Angular 4 Interceptor retry …

jwt interceptor angular5 refresh-token angular-httpclient
Angular map HttpClient.Post

So I finally decided to catch up with the times and migrate some old angular Http stuff to HttpClient. The …

angular typescript angular-httpclient
HttpRequest and reportProgress not working or messing up my requests

I am implementing a file upload service with Angular 5 and I want to give the user some feedback on the …

angular file-upload httprequest angular-httpclient
How to get body from HttpErrorResponse in Angular 6?

I have created a REST API call in my Angular app which downloads a file. I am setting responseType to …

javascript angular angular-httpclient
HttpInterceptor handling 401 error does not return Observable

I am following this example: https://www.intertech.com/Blog/angular-4-tutorial-handling-refresh-token-with-new-httpinterceptor/ All works well, except the method handle401Error. …

angular angular-http-interceptors angular-httpclient
Wait for http inside Guard on Angular 5

I'm using a Guard on an Angular application to resolve initial critical data. On the version 4 of Angular I was …

angular rxjs angular-router angular-httpclient angular-router-guards
@angular/common/http has no exported member 'RequestOptions'

I want to sand emails with angular 6 using an firebase function, but angular throws this error: error TS2305: Module '"…

angular angular-httpclient
Angular 6 - HTTP Response 200 is null in subscribe

I have the following Angular http.service.ts which I use to call the /login API. login(user: User) { console.…

angular post angular6 angular-httpclient
RxJs switchMap with angular HttpClient

I have a use case whenever a new request is triggered, any http requests that are already in flight should …

angular rxjs observable angular-httpclient switchmap