Top "Angular4-httpclient" questions

Use this tag for only for questions related to the HttpClient service included in HttpClientModule of Angular version 4

ERROR Error: StaticInjectorError(AppModule)[UserformService -> HttpClient]:

While trying to add a PrimeNG table I broke my build here: https://github.com/BillyCharter87/Tech-O-Dex-UI/tree/BrokeIt I …

angular angular4-httpclient
Default and specific request timeout

Usually it's desirable to have default timeout (e.g. 30s) that will be applied to all requests and can be …

angular angular4-httpclient
Angular 4: "Http failure response for (unknown URL): 0 Unknown Error"

I am trying to consume an API URL. I am calling the API with the below code. import {HttpClient, HttpClientModule, …

angular typescript https httpclient angular4-httpclient
415 (Unsupported Media Type) angular 4 Post

I am trying to access a wep api with angular 4 post method. In my service, I've added content-type of application/…

asp.net-core-webapi angular4-httpclient
How to map JSON response to Model in Angular 4

I have tried a lot but I am not able to get endpoint response mapped to my model. I am …

json angular angular4-httpclient
"Http failure response for (unknown url): 0 Unknown Error" Angular

I try use service httpClient post but I have this error: code service: constructor(private http:HttpClient) { } Login(data) { let …

angular rest angular4-forms angular4-httpclient
Can't have a timeout of over 2 minutes with this.http.get?

My angular 4.3.2 code is calling my back-end service that takes 2-4 minutes to return. Using just the default this.http.…

angular angular2-http angular4-httpclient
Untyped function calls may not accept type arguments - Angular 5 http calls

I'm trying to fetch data from API using interface. Bellow is my temp interface export interface ITemp { id: number, name: …

javascript angularjs typescript angular5 angular4-httpclient
Interceptors only for specific Service

I have several services in my app that point to different API URLs. Now I need to set different headers …

angular4-httpclient
how to solve Circular dependency detected using Angular 4?

I am using Angular 4 simple form,Getting error when i compile the project using command line,How to solve the …

angular spring-boot angular4-forms angular4-httpclient