0

There are two http client in angular 5 one is in "@angular/http" and another one is in "@angular/common/http". What is the difference between them?

0

1 Answer 1

2

If you use Angular 4.3. or higher

  • Http and HttpModule from the @angular/http are deprecated.
  • HttpClient and HttpClientModule from the @angular/common/http are the newer versions.

For differences you can check documentation.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.