HTTP GET and POST Requests in Flutter | Fetch Data from the Internet

Поделиться
HTML-код
  • Опубликовано: 30 июл 2024
  • In this video, you will learn to perform GET and POST HTTP Requests using the http package in Flutter
    jsonplaceholder posts endpoint:
    jsonplaceholder.typicode.com/...
    BLoC Pattern Tutorial with REST API:
    • Flutter BLoC/Cubit Tut...
    Follow me on social media:
    / heyletscode
    www.github.com/heyletscode
    / _heyletscode
    / heyletscode
    Contents of this video:
    00:00 - Introduction
    00:40 - Install HTTP package
    01:23 - Get Request
    07:58 - Post Request

Комментарии • 45

  • @forme5794
    @forme5794 2 года назад +5

    It worked!!!!!! I tried 5/6 tutorial but at last worked. Thank you. This video was a life saver.

  • @hammedibraheem654
    @hammedibraheem654 Год назад +1

    Man you're so good , Thanks for this simple and crystal audible

  • @saratm9973
    @saratm9973 Год назад +1

    This section is very clear and neat. Very nice one. Thanks and keep going.

  • @stefunraj7980
    @stefunraj7980 2 года назад +1

    Easy understand thanks for this video and we want more like this keep moving brow🐾

  • @oladayoagbolade3676
    @oladayoagbolade3676 2 года назад +3

    The audio is crisp and crystal clear. Love it

    • @tommyl5319
      @tommyl5319 2 года назад +1

      I agree with that except that with my earbuds, there's actually some sort of base tone that keeps hammering my ears. It got really unpleasant. I love the tutorial, though.

  • @FxTR22
    @FxTR22 2 года назад +1

    Thank you so much for the showcase how to implement API´s 🙂

  • @alfonsoromero3092
    @alfonsoromero3092 2 года назад +4

    you are a great teacher!

  • @utkarshkumar1080
    @utkarshkumar1080 2 года назад +2

    Awesome Video Bro We are waiting for your next video i am your big fan plz upload video of all android development videos don`t stop uploading videos you are mindblowing bro , plz come back soon.

  • @haniamegri4078
    @haniamegri4078 2 года назад +1

    A life saver for real , Thank you so much

  • @georgeomara
    @georgeomara 3 года назад

    Thank you so much, this has been really hepful.

  • @gabrielborges7636
    @gabrielborges7636 2 года назад

    The best tutorial in world! Thanks

  • @0Schranz
    @0Schranz 2 года назад +1

    Please, continue with your videos!

  • @pauloromero2459
    @pauloromero2459 3 года назад +1

    Muy buen video, MUCHAS GRACIAS!!!!

  • @poojabhosale-vf3qu
    @poojabhosale-vf3qu 2 года назад

    thank you sir ,very useful video for me...

  • @usertuserb7057
    @usertuserb7057 Год назад

    Big Thanks sir,
    a new subscriber From Algeria.

  • @tertiusscheepers8357
    @tertiusscheepers8357 Год назад

    And it works. Thanks buddy

  • @jenglinux4948
    @jenglinux4948 2 года назад

    Thanks bro, do you have tutorial on how to do Webscraping using Flutter/dart?

  • @aniketkharpatil6240
    @aniketkharpatil6240 3 года назад

    thanks a lot bro!!!

  • @johannex.
    @johannex. 2 года назад

    Hello, this works good. Maybe stupid question, but why doesn't work with other sites? For example wikia. Changed ${post["title"} for ${post}, but result - empty Page. In case of jsonplaceholder it copy whole Page.

  • @AdamRubiks
    @AdamRubiks 3 года назад

    thanks man!!

  • @ol1175
    @ol1175 2 года назад

    Good one!

  • @johnsunnyjohnsunny4296
    @johnsunnyjohnsunny4296 2 года назад

    hi sir, im a beginner and i have live running website and im try to convert it into a app and i have designed my own ui in flutter and how do i pull the login data from the website

  • @syedhannan546
    @syedhannan546 2 года назад

    u have any video for put and delete requests as well??

  • @shahkaruzair
    @shahkaruzair 2 года назад

    You are best 😇

  • @LMrc534
    @LMrc534 2 года назад

    Did i have at register and get an api key before.?

  • @ganeshprasadrao5596
    @ganeshprasadrao5596 3 года назад

    good job

  • @jushkinbekio
    @jushkinbekio 2 года назад

    thanks man

  • @mobiledevelopment3901
    @mobiledevelopment3901 Год назад

    Bro this works. But this works only when I debug with chrome. When I debug with Android emulator nothing happened. Are there any issue?

  • @richmondgingingon
    @richmondgingingon 2 года назад

    Can you make a tutorial of this plugin with Firebase Realtime Database with security rules? That will be great.

  • @nurzhakhan
    @nurzhakhan Год назад

    Thank u!

  • @bigmatch5561
    @bigmatch5561 2 года назад

    but how to if i want display data but not listview exmample i want to display data in Text(....)

  • @mohdyusuf6277
    @mohdyusuf6277 3 года назад +1

    i have a question if we are able to normally fetch api so simply so why do we need factory constructor, json serializable ?

    • @heyletscode
      @heyletscode  3 года назад +1

      Fetching the data is just one task. To be able to use the data in an efficient way, it needs to be modeled into dart classes. Working directly with map objects can become a nightmare as the code grows.

    • @RahulYadav-mv4le
      @RahulYadav-mv4le 3 года назад

      @@heyletscode hey I need your help can you talk to me

  • @mohamedyashik1049
    @mohamedyashik1049 2 года назад

    How to solve this XML HTTP error

  • @user-pq1uk7zf1m
    @user-pq1uk7zf1m 3 года назад

    can you make a tutorial about live wallpaper app where if you click a button it applies the live wallpaper on your screen, not like making the whole APK as a live wallpaper just making a button and if you click it it sets the GIF live wallpaper for you

  • @rekan_98
    @rekan_98 2 года назад

    do you have other social media account ?

  • @vikrantsingh2234
    @vikrantsingh2234 2 года назад

    खुब कमाओ 😄😄

  • @mdabidblogger6982
    @mdabidblogger6982 3 года назад

    Bro create a gaming app and PLZZ do it playlist

  • @adya39
    @adya39 3 года назад +2

    first again :)

  • @VarunKumar-ds2eh
    @VarunKumar-ds2eh Год назад

    What a cutie

  • @achrafzakawi926
    @achrafzakawi926 Год назад

    Hey, I'd like Instagram to get in touch with you please, for something