Fetching Data from REST API in Angular

preview_player
Показать описание
There are multiple ways of fetching data from the backend over REST API’s. The most common way of doing it in Angular is by utilizing the HttpClientModule that can be found in @angular/common/http. In this video, I show you the whole process of connecting your backend with an existing REST API over the HttpClient.

#Angular #REST #JavaScript #typescript #behaviourSubject

My website:
Рекомендации по теме
Комментарии
Автор

THANKS! I just spent an hour trying to read the docs but your video made it simple to understand

noblepolygon
Автор

Wow... this was super easy. Thanks for sharing with the community!!!

jimmyp
Автор

One of the best tutorial I watched. keep it up 💚

ZaaR_oO
Автор

Great video. Amazing how much you can show/teach in 6 minutes.

RossieHoorn
Автор

this is well explained thx :) although it didn't help my specific problem directly, it helped understanding requests better which then again helped me to be able to get an understanding for my actual problem :) thx

pokerabend
Автор

your way to explain is very good thanks man

YGaming
Автор

BTW,
HttpClient does observe it gets an response then it will unsubscribe by itself.
Async Pipe is needed when you have local data to handle

qpcrkdw
Автор

How do we fetch data now that modules are no longer included?

tyjeait
Автор

I have one wish for you, can you make a video for HomeView in angular 16 please

BegzodQodirboyev
Автор

Angular is a high typeScript language, you didnt even create an interface to type the results received

alihaj
Автор

You don't need to unsubscribe http requests

cipherxen
Автор

it helped man ;d fkn .subscribe wasted lot of my time ;d thanks dude !

Szopakleks