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?
Asked
Active
Viewed 807 times
1 Answers
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.

Suren Srapyan
- 66,568
- 14
- 114
- 112