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?
1 Answer
If you use Angular 4.3. or higher
- Http and
HttpModulefrom the@angular/httpare deprecated. - HttpClient and
HttpClientModulefrom the@angular/common/httpare the newer versions.
For differences you can check documentation.