Top "Angular-httpclient" questions

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

Angular httpClient interceptor error handling

after reading the documentation on angular about http client error handling, I still don't understand why I don't catch a 401 …

angular angular6 angular-http-interceptors angular-httpclient
HTTP get call in Angular 6

I updated my Angular project to Angular 6 and don't know how to do http get requests. Thats how I did …

angular typescript angular6 angular-httpclient
How to exclude some services like login, register from interceptor Angular 5, HttpClient

i wanted to exclude some services using interceptor. app.module.js providers: [ UserService, RolesService, { provide: HTTP_INTERCEPTORS, useClass: TokenInterceptor, multi: …

angular typescript interceptor angular-httpclient
How to make a sequence of http requests in Angular 6 using RxJS

I've been looking for a solution all over the web, but couldn't find anything that fits my user case. I'm …

angular typescript rxjs angular-httpclient rxjs6
Angular handle for 500 server errors

How can I modify my http call to handle(catch) for 500 server errors. I try calling an API but receive …

angular angular-httpclient
Angular 5 caching http service api calls

In my Angular 5 app a certain dataset (not changing very often) is needed multiple times on different places in the …

angular angular-httpclient
405 Method Not Allowed despite CORS

I am trying to develop a frontend application using Angular. Since I added the authorization header to the HTTP POST …

http xmlhttprequest http-headers cors angular-httpclient
Angular HttpClient return expecting observable<HttpEvent<any> rather than observable<any>

I'm getting a compilation error on the return type when using HttpClient. In my function GetPortfolio, I'm expecting the GET …

angular angular-httpclient
Angular 7 Http delete api handle body?

I'm trying to talk to a somewhat REST API from an Angular 7 front end. To remove some item from a …

angular angular-httpclient
Overload request headers and params with HttpClient get

In HttpClientModule, is there a method to pass headers and params to get request. import { HttpHeaders, HttpParams, HttpClient } from @angular/…

angular http-get angular-http angular-http-interceptors angular-httpclient