What is difference between http and httpclient in angular?



What is difference between http and httpclient in angular?..

Answer / Mamta Sonkar

Angular's HTTP service (Http) is a higher-level abstraction for making network requests. It provides an easy way to make HTTP requests and handle responses using observables. HttpClient, on the other hand, is a lower-level library that provides more advanced features like client-side caching and server push.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AngularJS Interview Questions

How to get and log an error in angular 4?

0 Answers  


What is the difference between javascript and ecmascript?

1 Answers  


Explain ng-include directive.

1 Answers  


Can I learn angular without knowing javascript?

1 Answers  


What is the linking function and what are the types of linking function?

1 Answers  


How angular prevents sross site scripting (xss)?

1 Answers  


What are Expressions in AngularJS?

1 Answers   SLK Software,


How to isolate a directive’s scope in angularjs?

1 Answers  


Why use pipes in angular?

1 Answers  


What is lazy loading angular?

1 Answers  


What is difference between ngoninit and constructor?

1 Answers  


What do u mean by router?

1 Answers  


Categories