The resource has moved permanently to the URL in Location; repeat the same request there, method and body unchanged, and use the new URL from now on.
Defined in RFC 9110 §15.4.9 — 308 Permanent Redirect · MDN reference
Permanent moves of APIs and upload endpoints where a POST or PUT must not degrade to GET — and increasingly for any permanent move, since it removes the ambiguity 301 carries.
The redirect to test when you move an endpoint that accepts writes. Check the client follows it with the body intact and, ideally, logs that its configured URL is stale.
Re-send the identical request to Location and update the stored URL. Search engines treat it like 301 for ranking purposes.
1 endpoint in this playground answers with 308. 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