StaffCoder
RE

REST API Design Exercises

.NET SDK 10Java 25Python 3.13
1 module · 3 challengesSign up
Modules1 module · 3 challenges
Module 1 of 1 · 3 challenges

Resources & HTTP Methods

All modules1 module
Address your API as resources instead of actions: collection and item URIs, nested resources, and every HTTP method meaning what it says.
Finish every challenge, or complete the star challenge, to complete the module.

Challenges

3 challenges

Resource Routes & Nesting

Sign up to unlock
33%2 of 6 solvedeasy
About this challenge

Replace an action endpoint with author and book resources at collection and item URIs, with books nested under their author.

Solved in a browser IDE and graded by tests. Sign up to solve

Method Semantics & Partial Updates

Sign up to unlock
50%1 of 2 solvedeasy
About this challenge

PUT replaces and PATCH merges, GET and HEAD stay safe, PUT and DELETE stay idempotent, and every URI answers for the methods it serves.

Solved in a browser IDE and graded by tests. Sign up to solve

Library Catalogue API

STAR
Solving it completes the module
100%1 of 1 solvedeasy
About this challenge

Build the catalogue: branches, shelves nested under them, titles, the full method table, replace and partial update, safe reads and idempotent writes.

Solved in a browser IDE and graded by tests. Sign up to solve

About this path

Master REST API design by building and testing real APIs with pagination, auth, caching, versioning, idempotency, validation, and security. Choose FastAPI, Django, .NET or Spring Boot.

Frequently asked questions

4

What will I practice in this path?

1 module: Resources & HTTP Methods.

How many REST API exercises are there, and how hard are they?

3 exercises, all easy.

What does this path run on?

You can work in .NET SDK 10, Java 25 or Python 3.13.

Do I need to install anything?

No. Every challenge runs in a browser-based IDE with everything already set up, and your code is graded automatically against a test suite.

We use cookies that are necessary to run Staffcoder, and optional analytics cookies to see which pages get used. Analytics stays off unless you accept. Read our Cookie Policy.