Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

'HttpModule' is deprecated

Can someone explain why the ‘HttpModule’ is crossed out?

I tried to follow the structure program of my instructor because I’m coding along with him. I must have missed something but I can’t figure out what.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

So actually the Http module that you are using is officially deprecated and hence it is crossed out

You will have to use a newer HttpClientModule instead

It’s an upgraded version of http from @angular/http module

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading