Consuming REST API in flutter | REST API call in flutter using http package

Publié le: 28 octobre 2022
sur la chaîne: Jatinder Verma
4,579
104

This video is about how to consume REST API in flutter.
I have created a simple application which is using ListView to display list of items coming from API Endpoint.

In order to perform REST API call, http package has been used from pub.dev whose exact link is:
https://pub.dev/packages/http

I have consume following API END Point:
https://jatinderji.github.io/users_pe...

For generating Class(Source Code) of the API Response(i.e. Model Class), I have used following tool:
https://app.quicktype.io/

To learn how to host your data on GitHub watch following video:
   • Host Rest API end point on GitHub GET Only...  

To learn how to work with ListView watch following video:
   • ListView in Flutter | ListView Builder in ...  

Check out source code of the project for your reference:
https://github.com/jatinderji/rest_ap...

   / @jatinderverma6  


Sur cette page du site, vous pouvez voir la vidéo en ligne Consuming REST API in flutter | REST API call in flutter using http package durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Jatinder Verma 28 octobre 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 4,579 fois et il a aimé 104 téléspectateurs. Bon visionnage!