Top "Angular-httpclient" questions

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

Angular 5 Jasmine Error: Expected one matching request for criteria found none

I have a very simple service call and a jasmine test for it. Service call: myServiceCall(testId: number) : void { const …

angular jasmine angular-httpclient
Angular HttpClient append headers to HttpHeaders

I am upgrading from the HttpServer to the HttpClientService and as part of that I have to switch my headers …

angular angular-httpclient
HTTPClient POST tries to parse a non-JSON response

I'm trying to make a request in Angular and I know that the HTTP response will not be in JSON …

angular typescript angular-httpclient
Parse date with Angular 4.3 HttpClient

I'm currently switching to the new HttpClient of Angular 4.3. One advantage is that I can specify a type info on …

json angular date angular-httpclient
Angular 5 - Can't set header for HttpClient

I am trying to make a POST call using HttpClient in an Angular 5 project, and I want to set the …

angular angular-httpclient
How to catch error in Observable.forkJoin(...)?

I use Observable.forkJoin() to handle the response after both HTTP calls finishes, but if either one of them returns …

angular promise rxjs angular-http angular-httpclient
How to Show spinner for every HTTP requests in angular 5?

i am new to angular 5 . How to code a common function to show spinner for every HTTP request in angular 5.…

angular angular-http angular-http-interceptors angular-httpclient
Multiple Objects into HttpParams

I have some categories in a formcontrol, I send them in an array of string like this: [1,4,6] And that is …

angular typescript angular-httpclient
Angular 6 - HttpClient Keeping subscribe in the service but passing the result to the component

I have a project which contains a service (which gets the data) and a component (displays it). I would like …

angular typescript angular6 angular-httpclient
Retrieve XML from HTTPClient on Angular 5

I'm trying to retrieve an xml from a SOAP API using the HttpClient from Angular This is what's on my …

xml angular soap angular-httpclient