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

Pubblicato il: 28 ottobre 2022
sul canale di: 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  


In questa pagina del sito puoi guardare il video online Consuming REST API in flutter | REST API call in flutter using http package della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Jatinder Verma 28 ottobre 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 4,579 volte e gli è piaciuto 104 spettatori. Buona visione!