HTTP 308 Mock Endpoint

HTTP 308 Permanent Redirect is the permanent counterpart to 307 Temporary Redirect — it indicates the resource has permanently moved to a new URL while guaranteeing the HTTP method and body are preserved through the redirect. Use 308 instead of 301 when the redirected request MUST maintain its original method (POST, PUT, DELETE). This is essential for API endpoints that move to new URLs where clients submit data via non-GET methods.

Try it (live endpoint)

Response includes the status code, standard headers (including Content-Type), and a small diagnostic JSON body describing the request and returned status.

Simulator URL (copy in the app after load — not a normal link):

https://httpstatus.com/api/status/308

Example request:

curl -i "https://httpstatus.com/api/status/308"
Try in playground