REST architecture
A web API style where data is treated as resources, each with its own URL, accessed using standard HTTP requests. Each request is stateless, so the server remembers nothing between requests.
Understanding REST architecture in QCE Digital Solutions Unit 4
What it does: The URL names the resource (the results of student 42). In REST, the address identifies the data rather than an action. The client code only sends a standard HTTP request and uses the response. It does not know how the server stores or finds the data. A stateless server keeps no memory of earlier requests. Any needed details, such as an API key or ID, must be sent again. With no stored client state, requests can be shared across many servers, which makes the service easier to scale. REST URLs name resources (nouns), while the HTTP method gives the action. Putting verbs in the URL breaks this style.
Common mistakes: The requests library has no fetch() function. To read a resource from a REST API you send a GET request, so the line should be r = requests.get(url). REST URLs name a resource (a noun) and the HTTP method is the action. A verb like getOrder in the URL breaks this. It should be GET /orders/12.
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 89–125) and word search (Modules 17–125).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
RESTFill in the Blanks
Spot the Error
Student with a class code? Join your class →