The request succeeded and the client should reset the view that sent it — clear the form, so the user can enter another. There is never a body.
Defined in RFC 9110 §15.3.6 — 205 Reset Content · MDN reference
Data-entry style flows — submit a record, get a blank form back for the next one. In practice most APIs use 204 and leave the reset to the frontend, so 205 is uncommon outside older form-centric systems.
Like 204, it breaks any client that parses JSON unconditionally. Unlike 204 it carries an instruction, and few frontends honour it; test whether yours resets or does nothing.
Do not read a body; there is none, and the server must not send one. Clear the input state that produced the request. If you cannot reset anything meaningful, treat it as 204.
1 endpoint in this playground answers with 205. Every one is free, needs no signup, and can be called from the browser or with curl.
GET https://funapi.dev/api/faults/v1/status/{code} — Return any status code on demand (200–599) (Fault Injection API) Open & run this endpointAll HTTP status codes · All 39 mock REST APIs · Getting started guide
Last updated