HTTP/3xx (Redirection)
308 Permanent Redirect
The request and all future requests should be repeated using another URI, strictly preserving the HTTP method.
❓ Why does this happen?
Modern permanent redirect that prevents clients from downgrading POST to GET.
✅ How to fix it
Update client links to the new URL specified in the Location header.
Return or handle 308 in your stack
// app/old-path/route.ts
export function GET(request: Request) {
return Response.redirect(new URL("/new-path", request.url), 308);
}Live 308 mock endpoint
Point your app, tests, or retry logic at this free public URL to reproduce a real 308 response (CORS enabled, optional ?delay=ms up to 5000).
https://castov.com/api/mock/308308 vs similar status codes
Frequently Asked Questions
What does HTTP Status 308 mean?
Why am I getting a 308 status code?
How do I fix a 308 Permanent Redirect error?
What is the difference between 308 Permanent Redirect and 301 Moved Permanently?
How can I test how my app handles a 308 response?
Other 3xx status codes
Browse the full HTTP status codes directory or troubleshoot terminal errors in the Error Fix Encyclopedia.