Lesson 35 of 35 · +140 xp

Fetch API

Make a network request.

Explained simply

Your task

Declare const res = await fetch("/api");

fetch.js
▶ Output (javascript)
Click 'Run code' to execute your code in a real sandbox.
← Back