StudyAIStudyAI
All lessons
💻 Coding 14 minLesson 17 of 50

APIs & JSON

Request data, read the response and handle failure.

What you will learn

  • An API exposes data over HTTP at an endpoint.
  • JSON is text formatted as objects, arrays and values.
  • Always check the status code before trusting the body.

Learn JSON - Full Crash Course for Beginners

freeCodeCamp.org · plays in StudyAI

Source

Watch once, then work through the practice sheet.

Practice sheets

3 printable PDFs
1

Recall drill

5 questions · write-in answer lines

2

Apply it

4 questions · write-in answer lines

3

Test yourself

4 questions · write-in answer lines

Interactive quiz

Question 1 of 2

A successful HTTP status is…

base44
Edit with Base44