Software Testing / Learning brief

Tom and the library desk

What this means in plain language

Tom sees a 404, a 403 and a 401 in one afternoon. A library desk shows how he reads the action and the number in each request, and how he finds a double click that adds a task twice by mistake.

Understand the full idea, step by step

At a library desk you can look up a book, add a new one, replace one or remove one. The librarian answers with a clear result. Here it is, done, not found, or no.

The Daily List API, for a to-do list app, works like that desk. Tom, the tester, learns to say what he asked and what he got.

Evidence & review

REVIEWED 2026-11-07

The date on this lesson is when it went up on Payments Signal, not when its material was written — most of these were brought across from an earlier catalogue in a single run, which is why so many of them share a date. What the lesson says about the world is dated by the review above and by the sources below it.

HTTP method, status code and idempotent as taught in this academy. The people, the app and the numbers shown are invented, though the number meanings follow the standards.

What this brief simplifies: Fiction labelled SYNTHETIC / TRAINING ONLY. Sources were seen only as search excerpts. The idempotent list was seen through a summary written by someone else, and the rules for PATCH (the part-change action) were not seen. Separate7November2026 complete bounded Request for Comments (RFC) units reviewed as named in appended locators. Idempotent intended effects differ from safe semantics, identical replies and logging. PATCH media types, planned5xx cases and application-error envelopes are qualified. Training fixture policies are explicit; no all-server certification.

Sources for this brief — 14 sources
  1. Market practice

    RFC 9110 — HTTP Semantics ↗ — IETF · RFC 9110 defines the request methods and the status codes: 201 Created, 204 No Content, 405 Method Not Allowed with an Allow header, 409 Conflict and 422 Unprocessable Content were seen as search excerpts; PUT, DELETE and the safe methods are idempotent, seen only through a summary written by someone else (registry entry; page not opened)

    The definition of what an idempotent request method is, alongside safe methods, the status-code semantics an API contract is built on, and conditional requests.

    Used here for the systems-design questions a Payments Software Engineer and a Payments Solution Architect are asked, where the question turns on HTTP's own guarantees rather than on a scheme's rules. · Checked 2026-08-18

    Internet Standard, June 2022, obsoleting RFC 7230 through 7235.

    Cited for method semantics only. "Idempotent" in RFC 9110 is a property of a method: that repeating the request has the same intended effect on the origin server. It is not the same claim as "this payment cannot be duplicated", which is a scheme-level guarantee with its own documents.

    Read through a mirror, because the publisher's own domain could not be fetched (a reachability gap, not a statement about the publisher). A 403 there is a policy refusal and says nothing about whether the document exists or is reachable elsewhere.

    Anyone on an unrestricted network should open the canonical URL above and confirm the section and page numbers cited against it. Every claim drawn from this entry is written so that it can be checked against a numbered page.

    Read in full from the HTTP Working Group's own publication mirror at httpwg.github.io.

  2. Market practice

    HyperText Transfer Protocol (HTTP) response status codes (Mozilla developer docs) ↗ — Mozilla (developer documentation) · Status codes come in five classes: informational, success, redirection, client error and server error (search excerpt, page not opened)

    Per the search excerpt, status codes come in five classes: informational, success, redirection, client error and server error. Pages for 400, 401, 403, 404 and 500 describe each. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  3. Market practice

    401 Unauthorized (Mozilla developer docs, HyperText Transfer Protocol (HTTP) reference) ↗ — Mozilla (developer documentation) · 401 means the request lacks valid credentials; the name is misleading since it means unauthenticated (search excerpt, page not opened)

    Per the search excerpt, 401 means the request lacks valid credentials; the name is misleading since it really means unauthenticated. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  4. Market practice

    403 Forbidden (Mozilla developer docs, HyperText Transfer Protocol (HTTP) reference) ↗ — Mozilla (developer documentation) · 403 means the server understood the request but refuses it, usually because the user lacks permission; repeating it unchanged fails the same way (search excerpt, page not opened)

    Per the search excerpt, 403 means the server understood the request but refuses it, usually because the user lacks permission; repeating the request unchanged fails the same way. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  5. Market practice

    Additional HyperText Transfer Protocol (HTTP) status codes (Request for Comments 6585) ↗ — IETF · 429 Too Many Requests is for rate limiting; a response may include a Retry-After header (search excerpt, page not opened)

    Per the search excerpt, defines 429 Too Many Requests for rate limiting; a response may include a Retry-After header; the response must not be stored by a cache. · Checked 2026-11-08

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

    RFC6585, April2012, Standards Track; complete section4/429 read 8 November2026. Rate-limit response MAY contain Retry-After; user identity and counting policy are not fixed. Not an all-HTTP-error retry rule.

  6. Market practice

    Hypertext Transfer Protocol (HTTP) request methods (Mozilla developer docs) ↗ — Mozilla (MDN Web Docs) · Page on request methods (page not opened; staged by the business analysis batch 13)

    Developer documentation. Describes GET as read only, POST as submit, PUT as replace and DELETE as remove. The search returned French and Spanish copies of this page. Search excerpt only. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  7. Market practice

    How to test Representational State Transfer (REST) APIs step by step (API Challenges, EvilTester) ↗ — EvilTester (Alan Richardson) · A tutorial that says to check response headers and body as well as the status code (search excerpt, page not opened)

    Per the search excerpt, a tutorial that says to check response headers and body as well as the status code. Practitioner guidance, not a standard. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  8. Market practiceDraft, not in force09, 21 November 2026; expires 25 May 2027

    The Idempotency-Key HTTP Header Field — draft-ietf-httpapi-idempotency-key-header-09 ↗ — IETF HTTPAPI Working Group · An IETF draft for a header that lets a server recognise a repeated request (registry entry; a draft, page not opened)

    The proposed convention for an Idempotency-Key request header: how a client marks a retry, what a server is expected to do with a repeated key, and the error responses for a reused or malformed one.

    Used here only where a systems-design question is about the proposal, and always alongside a scheme document that actually binds. · Checked 2026-11-23

    Primary IETF revision 09 §§2.2–2.7 and Appendix A checked 23 November 2026. It is an active Internet-Draft. Section 2.6 describes a response consistent with completion according to user intent. Revision 09 clarifies optional fingerprints, lets each resource define uniqueness, and recommends that resources document behaviour and expiry. The provider contract determines actual payment retry behaviour.

  9. Simplified educational illustration

    Payments Signal editorial teaching models — Payments Signal

    This site's own simplified teaching models. · Checked 2026-07-12

    Used wherever diagrams, scenarios, figures, or example values are didactic constructions rather than sourced facts; every such use carries a simplifications disclosure. All people, companies, banks, and list entries in examples are fictional.

  10. Market practice

    RFC 9110 — HTTP Semantics ↗ — IETF · RFC9110/STD97 June2022 complete selected sections banked V72, including9.1,9.2.1/.2,9.3.1/.3/.4/.5,13.1.1/.2,10.2.3 and selected15.x statuses: intended effects differ from identical responses;401challenge,405Allow,415format/encoding and500unexpected condition.

    The definition of what an idempotent request method is, alongside safe methods, the status-code semantics an API contract is built on, and conditional requests.

    Used here for the systems-design questions a Payments Software Engineer and a Payments Solution Architect are asked, where the question turns on HTTP's own guarantees rather than on a scheme's rules. · Checked 2026-08-18

    Internet Standard, June 2022, obsoleting RFC 7230 through 7235.

    Cited for method semantics only. "Idempotent" in RFC 9110 is a property of a method: that repeating the request has the same intended effect on the origin server. It is not the same claim as "this payment cannot be duplicated", which is a scheme-level guarantee with its own documents.

    Read through a mirror, because the publisher's own domain could not be fetched (a reachability gap, not a statement about the publisher). A 403 there is a policy refusal and says nothing about whether the document exists or is reachable elsewhere.

    Anyone on an unrestricted network should open the canonical URL above and confirm the section and page numbers cited against it. Every claim drawn from this entry is written so that it can be checked against a numbered page.

    Read in full from the HTTP Working Group's own publication mirror at httpwg.github.io.

  11. Market practice

    Additional HyperText Transfer Protocol (HTTP) status codes (Request for Comments 6585) ↗ — IETF · RFC6585 April2012 complete1/2/4 actually read7November2026:429 rate limiting; response may include Retry-After; counting policy is not fixed by this status.

    Per the search excerpt, defines 429 Too Many Requests for rate limiting; a response may include a Retry-After header; the response must not be stored by a cache. · Checked 2026-11-08

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

    RFC6585, April2012, Standards Track; complete section4/429 read 8 November2026. Rate-limit response MAY contain Retry-After; user identity and counting policy are not fixed. Not an all-HTTP-error retry rule.

  12. Market practice

    RFC5789 — PATCH Method for HTTP ↗ — Internet Engineering Task Force · Complete2/2.1/2.2, March2010: patch media type defines instructions, atomic application, no inherent safety/idempotence.

    Complete2/2.1/2.2, March2010: patch media type defines instructions, atomic application, no inherent safety/idempotence. · Checked 2026-11-07

    Only named complete units actually read under V72 Phase1 gate01d542c62. No whole-document/tool/server conformance claim.

  13. Market practice

    RFC7396 — JSON Merge Patch ↗ — Internet Engineering Task Force · Complete1/2, October2014: object-member merge, null removal and whole-array replacement; not all PATCH formats.

    Complete1/2, October2014: object-member merge, null removal and whole-array replacement; not all PATCH formats. · Checked 2026-11-07

    Only named complete units actually read under V72 Phase1 gate01d542c62. No whole-document/tool/server conformance claim.

  14. Market practice

    RFC6902 — JavaScript Object Notation (JSON) Patch ↗ — Internet Engineering Task Force · Complete1/2/3/4/all4.1–4.6/5/7, April2013: ordered operations, pointer paths, conditions and error handling; not a universal object-field merge.

    Complete1/2/3/4/all4.1–4.6/5/7, April2013: ordered operations, pointer paths, conditions and error handling; not a universal object-field merge. · Checked 2026-11-07

    Only named complete units actually read under V72 Phase1 gate01d542c62. No whole-document/tool/server conformance claim.

Learn this properly

START HEREHTTP methods and status codesEvery request names an action and every reply carries a number for the result. Knowing both lets a tester say exactly what was asked, what happened and what should have happened.Opens at L0 Explain simply · about 16 min

Related briefs

Tom checks the library desk

Three small rules, true before, after and always, tell a tester when a move went wrong. Tom checks a library desk and a Daily List move, and finds a task lost when the target list is missing.

READ BRIEF

Tom asks the library helper

Mei gives Tom practice questions on hallucinations, reasoning errors, bias, varying output and privacy risks. He learns to name what is wrong in a story before he picks a fix.

READ BRIEF