Loading Remote JSON Data via HTTP in Ionic & Angular

preview_player
Показать описание
In this video tutorial, I walk through how to use the HttpClient in Angular to make a "get" request to load some JSON data.

#ionic #angular

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

Great video very helpful and still relevant 3 years on :-)

pincombe
Автор

Great video.
I have a question, assume I am requesting data from an external API, response data size is in MB'swith tons of unwanted fields.
Instead of downloading such heavy unwanted data, can I get only the data that I need while calling HTTP. get ???

sumanthdarisi
Автор

Nice video!
Any idea how to update datas dynamically when json response change ?

albertograssi
Автор

I also developed a list in ionic using json data, ionic web shows the result. But unable to see the list in android real device and emulator. Any idea?

mithuns
Автор

If I have my ion-selection with the information of a json, how can I make that when the user choose one option, my app, save one object of that option? Idk if I explain it well...

Shaddle
Автор

Hi, Josh great video.
Would you please tell us how to manage bigger JSON objects with base64 string, photo, etc; request and save them ?

Edwinil
Автор

Thanks for the video. I know it's not a part of Ionic or Angular as such, but it would be nice to know how to parse the JSON returned from something like reddit, if you were after a subset of the data for example.

ChristopherRobertHarris
Автор

Thank you for the video. I have nestjs rest api hosted in ec2 instance . I am consuming this service in ionic app. In browser everything works fine. But when i build it as mobile app, http request fails with unknown error. I am using @angular/common/hhtp module. My rest endpoint is not secure, it us just http.

dhinesha
Автор

Great !
As clear as simple !

Can you make one video about errors handling ?

Carry on !

vidalroland
Автор

Parabéns cara, ajudou muito! Obrigado!

manomagoo
Автор

Hey, can you release more ionic styling related videos?
for example how to set a background-image through ion-content dynamically or how to have a card with full background-image.. stuff like that
The new web component thingy seems to be confusing to work with

Skia_
Автор

alguien con problemas de "has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource."

cristianaguirre
Автор

how to get image path for send in php service

lastpoint
Автор

Hello it works on browser but fail when I run on mobile with "unknown error" do anyone have a solution ?

aboud
Автор

Please make video on Json login

Thanks

HamidAli-kptc
Автор

It would be nice to know how to arrange the data in an html file after getting it..

fintechhorizonsmedia
join shbcf.ru