Step 4 / 8 · Lesson

Designing an API someone else can use

9 occupations ask for the skill this lesson teaches.

An API is a set of rules letting one program ask another for data or actions. The GitHub API returns a status code like 200 when a request succeeds. An API is a contract: you promise what a request looks like and what a response means. Break that promise, and every program depending on you breaks too.

15 minutes

Under review

Start Learning →

What this asks you

Which of the following code snippets correctly demonstrates proper route handling for retrieving users in an Express application?

and 12 more questions

This lesson was written with AI from real job postings and checked by several models from different families against the sources listed. If you find a mistake, tell us.

Sources

← Samevia