TOPIC 11/6216 MINNOT STARTED

HTTP methods and status codes

Every 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.

L1–L4 are part of the Pro pass

L0 Explain simply

Analogy: a library desk. At a library desk you can do four things: look up a book, add a new book, replace a book with a new copy, or remove a book. The librarian answers with a clear result, such as, here it is, done, not found, or no.

Daily List is a to-do list app. Its works like that desk. A request names the action, which is called the HyperText Transfer Protocol (HTTP) method. The reply starts with a three-digit number, the , that tells how it went.

Tom, the tester, opens a list that someone deleted, and the reply number is 404, which means not found. He opens a list that belongs to another test user, and the reply number is 403, which means the server understood the request and refuses it. In this example, the list is private and has not been shared with him.

Some requests have the same intended server effect when repeated. Removing the same book twice leaves it absent, even if the second reply says not found. Such methods are idempotent: identical repeats have the same intended effect as one request, not necessarily identical replies or logs. Adding with POST is not idempotent by default; a product may provide a separate deduplication contract.

The picture has a limit. A librarian uses judgement. A server follows its rules exactly, and a small mistake in the rules gives a wrong number.

(SYNTHETIC / TRAINING ONLY: Daily List and every person named in this lesson are invented.)

PLAIN WORDS · 3 in this section
hypertext
text that links to other pages
idempotent
repeating it has the same effect as doing it once
deduplication
spotting and dropping repeated copies of the same message

PICTURE IT

The picture is the one the lesson above opens with. The table below shows how each part of it matches the software.

THE REAL JOB Saying exactly what was asked and what happened, with a method and a number.

  1. What was asked?
  2. What number came back?
  3. What state is the server in?
Three checks

HOW THE PICTURE MAPS

How each part of the picture matches the software
In the pictureIn the software
Library deskThe API
Look up, add, replace, removeThe main request kinds
The librarian's answerStatus code
Repeated removal leaves the book absentIdempotent

WHERE THIS PICTURE STOPS

  • A librarian uses judgement. A server follows its rules exactly.
  • Adding a book twice leaves two copies. Not every action is safe to repeat.
  • A librarian says no in words. A server says it with a number.

HOOK

Ask, number, state.

REMEMBER IT THIS WAY

A contrast: two neighbours told apart by one test.

A 404 means not found. A 403 means the server understood the request and refuses it; it need not establish who you are.

What each part of the trick stands for
In the trickWhat it stands for
404the list was deleted, so the reply says not found
403a list that belongs to another test user

TELL A FRIEND

A library desk lets you look up, add, replace or remove a book, and the librarian answers with a clear result. An takes a method and answers with a number.

OFTEN MIXED UP WITH Reading the network tab. The network tab lesson shows requests and replies. This lesson reads the action and the number in them.

PRACTISE AND KEEP

Sources for this topic — 24 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. Market practice

    Idempotent - MDN Web Docs glossary ↗ — MDN Web Docs (Mozilla) · RFC 9110 section 9.2.2 and MDN: PUT and DELETE are idempotent but not safe; safe methods are a subset of idempotent ones. Search excerpts, pages not opened.

    An HTTP method is idempotent if one request has the same intended effect as several identical ones; a first DELETE may return success and later ones not found. · Checked 2026-10-19

    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.

  10. Market practice

    Safe (HTTP Methods) - MDN Web Docs glossary ↗ — MDN Web Docs (Mozilla) · RFC 9110 section 9.2.2 and MDN: PUT and DELETE are idempotent but not safe; safe methods are a subset of idempotent ones. Search excerpts, pages not opened.

    A safe method does not change server state; safe methods are a subset of idempotent ones; PUT and DELETE are idempotent but not safe. · Checked 2026-10-19

    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.

  11. Market practice

    RFC 9110: HTTP Semantics, section 9.2.2 Idempotent Methods ↗ — IETF · Search excerpts of RFC 9110 9.2.2 and MDN, pages not opened.

    Defines idempotent by the intended effect of multiple identical requests; PUT, DELETE and safe methods are idempotent; servers may still log each request. · Checked 2026-10-19

    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.

  12. Market practice

    502 vs 503: what is the difference? (ApyHub) ↗ — ApyHub · Definitions from RFC 9110 and MDN already in the registry; plain-words summary from ApyHub '502 vs 503' (search excerpt, page not opened).

    Plain meanings of 500, 502, 503 and 504. · Checked 2026-10-19

    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.

  13. Market practice

    HyperText Transfer Protocol (HTTP) caching (Mozilla developer docs) ↗ — Mozilla (developer documentation) · MDN 304 and If-None-Match pages returned by search (search excerpts, pages not opened). 415 definition is in RFC 9110.

    Per the search excerpt, a stored response is fresh or stale. A stale one can be checked with the server, which answers not modified if nothing changed. The max-age setting sets how long a response stays fresh. · 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.

  14. Market practice

    304 Not Modified (MDN Web Docs) ↗ — Mozilla · MDN 304 and If-None-Match pages returned by search (search excerpts, pages not opened). 415 definition is in RFC 9110.

    304 reply to a conditional request; no body. · Checked 2026-10-19

    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.

  15. Market practice

    If-None-Match header (MDN Web Docs) ↗ — Mozilla · MDN 304 and If-None-Match pages returned by search (search excerpts, pages not opened). 415 definition is in RFC 9110.

    Client sends an ETag; match gives 304. · Checked 2026-10-19

    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.

  16. Market practice

    HTTP PATCH vs PUT (Zuplo) ↗ — Zuplo · RFC 9110 lists PUT and DELETE as idempotent and does not list PATCH. Zuplo 'HTTP PATCH vs PUT' (search excerpt, page not opened).

    PATCH is not necessarily idempotent. · Checked 2026-10-19

    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.

  17. Market practice

    Idempotent - Glossary ↗ — MDN Web Docs (Mozilla) · Idempotent method: one request has the same intended effect as several identical ones; PUT and DELETE are, POST is not (search excerpt, page not opened)

    Idempotent method: one request has the same intended effect as several identical ones; PUT and DELETE are, POST is not. · 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.

  18. Market practice

    201 Created - HTTP ↗ — MDN Web Docs (Mozilla) · 201 means a request led to a created resource; typically returned for POST (search excerpt, page not opened)

    201 means a request led to a created resource; typically returned for POST. · 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.

  19. Official requirement

    RFC 9110 — HTTP Semantics ↗ — IETF · RFC9110/STD97,June2022:9.1,9.2.1–9.2.2,13.1.2,15.5.2,15.5.4,15.5.6 and15.5.9; safe/idempotent intended effects,401challenge/403refusal,405Allow/501,304conditionalGET/HEAD versus412,408incomplete request (relevant primary passages opened6November2026).

    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.

  20. 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.

  21. 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.

  22. 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.

  23. 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.

  24. 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.

Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.