RANIARANIA Academy

Networking & REST APIs

Build the job-ready capability of consuming REST APIs inside a Flutter app. You will make GET, POST, PUT and DELETE calls with the http and dio packages, parse JSON into typed Dart model classes, render results with FutureBuilder, and handle loading, errors, auth tokens and timeouts like a professional.

Watch the free preview

Your first GET request with the http package — free to watch, no account needed.

Mobile Development (Flutter) INTERMEDIATE · 150 min · Certificate on completion · 3 CPD points

What you'll learn

  • Consume REST APIs in a Flutter app using the http and dio packages
  • Perform GET, POST, PUT and DELETE requests and read status codes correctly
  • Parse JSON into typed Dart model classes with fromJson and toJson
  • Render asynchronous data with FutureBuilder, handling loading and error states
  • Send auth headers and handle timeouts, retries and cancellation robustly

Syllabus

Talking to a Server — GET and JSON
Your first GET request with the http packageFree preview15 min
Parsing JSON into typed model classes15 min
Showing Data and Changing It
Rendering async data with FutureBuilder15 min
Writing data — POST, PUT and DELETE15 min
Headers, Auth and the dio Package
Headers and auth tokens15 min
The dio package — interceptors and configuration15 min
Robust Networking in Production
Timeouts, retries and cancellation15 min
Error architecture — a Result type and a repository15 min
Lab — 10 Exercises & Solutions
Exercises 1–515 min
Exercises 6–1015 min