← Node.js & APIs

Lesson 2 of 3 · 11 min

REST APIs

REST APIs expose resources at URLs: GET /users lists, POST /users creates.

JSON is the common language for request and response bodies.

Practice

Design three endpoints for a todo app: list, create and delete.

Quiz

+50 pts
1. Creating a resource uses…
2. API bodies are usually…

Optional resources

Your lesson toolkit

No purchase or partner signup is required to complete this course or earn quiz points.

These are official product links, not active affiliate links. Learnly does not currently earn a commission from them.

Node.js

Install the runtime and follow the official guides.

Free and open source.

Explore tool