The server gave up waiting for the client to finish sending the request, and has closed (or will close) the connection.
Defined in RFC 9110 §15.5.9 — 408 Request Timeout · MDN reference
Idle keep-alive connections that a server or load balancer closes, slow mobile uploads, and clients that open a connection and never send. Browsers often retry silently after one.
Simulates a slow or stalled upload. The thing to test is whether your client retries automatically — for an idempotent request it may, for a POST it must not without an idempotency key.
A 408 means the request was not processed, so retrying is generally safe — the server says it did not act on it. Retry on a fresh connection. If it recurs, the problem is upload speed or a client that stalls mid-body.
1 endpoint in this playground answers with 408. 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} — Returned on request (Fault Injection API) Open & run this endpointAll HTTP status codes · All 39 mock REST APIs · Getting started guide
Last updated