How to make API request in Flutter.

Sidra Khan
2 min readJun 3, 2020

--

API REQUEST WITHIN AN APP

🤔 What we need?

  • http package to make the request.
  • dart:convert to process the response from the server.

👨‍💻 Steps to follow…!!

  1. create UI for the App.
  2. create a method, which will make API request.

3.then process the data.

4. update the UI with received data.

👋That’s it folks! Leave a comment below to make it better.😉

--

--

Sidra Khan

Computer Scientist to be 👩‍💻 Web Development 🔰Flutter📲