> Documentation index: https://developer.android.com/courses/llms.txt

# Get data from the internet


Implement coroutines to perform tasks concurrently without blocking the app, and learn about HTTP and REST to get data from the internet.  


Go back

## Connect to the internet

<button class="toggle gc-analytics-event" data-category="devsite-playlist: toggle button"> *keyboard_arrow_down* *keyboard_arrow_up* </button> Video *Optional*

In this unit, you'll learn how to build an app that can get data from the internet.

<button class="playlist-skip gc-analytics-event" data-category="devsite-playlist: skip button"> Skip </button>

## Introduction to Coroutines in Kotlin Playground

<button class="toggle gc-analytics-event" data-category="devsite-playlist: toggle button"> *keyboard_arrow_down* *keyboard_arrow_up* </button> Codelab

Within Kotlin Playground, learn to use Kotlin coroutines to write asynchronous code.

[Take codelab](https://developer.android.com/codelabs/basic-android-kotlin-compose-coroutines-kotlin-playground)

## Introduction to Coroutines in Android Studio

<button class="toggle gc-analytics-event" data-category="devsite-playlist: toggle button"> *keyboard_arrow_down* *keyboard_arrow_up* </button> Codelab

Learn to use Kotlin coroutines inside an Android app and how to test coroutines.

[Take codelab](https://developer.android.com/codelabs/basic-android-kotlin-compose-coroutines-android-studio)

## Introduction to HTTP/REST

<button class="toggle gc-analytics-event" data-category="devsite-playlist: toggle button"> *keyboard_arrow_down* *keyboard_arrow_up* </button> Video *Optional*

Learn how apps communicate with each other using HTTP and serve data over HTTP using REST services.

<button class="playlist-skip gc-analytics-event" data-category="devsite-playlist: skip button"> Skip </button>

## Get data from the internet

<button class="toggle gc-analytics-event" data-category="devsite-playlist: toggle button"> *keyboard_arrow_down* *keyboard_arrow_up* </button> Codelab

Connect your app to backend servers using the third-party library Retrofit and learn how to consume REST web services.

[Take codelab](https://developer.android.com/codelabs/basic-android-kotlin-compose-getting-data-internet)

## What's next?

<button class="toggle gc-analytics-event" data-category="devsite-playlist: toggle button"> *keyboard_arrow_down* *keyboard_arrow_up* </button> Video *Optional*

Well done! This pathway was really long, and you learned several important topics, such as coroutines for concurrent programming and Retrofit, a library for working with REST services.

<button class="playlist-skip gc-analytics-event" data-category="devsite-playlist: skip button"> Skip </button>

## Quiz

Test your knowledge and earn your Get data from the internet badge.
[Take the quiz](https://developer.android.com/courses/quizzes/android-basics-compose-unit-5-pathway-1/android-basics-compose-unit-5-pathway-1.md.txt)