308 Permanent Redirect
3xx Redirection
RFC 9110
Permanently moved — and your POST stays a POST.
What 308 Permanent Redirect means {#what}
The permanent version of 307. The resource has permanently moved to a new URL (in the Location header), and the HTTP method must not change. The method-preserving counterpart to 301.
When you’ll see a 308 {#when}
- API versioning migrations where endpoints moved permanently
- Permanent restructuring of POST-based API routes
When to use 308 {#use}
- Use instead of 301 when you need to permanently redirect non-GET methods