308

HTTP 308 Permanent Redirect

3xx Redirection

  1. Home
  2. > HTTP Status Codes >
  3. > 3xx >
  4. 308
3xx Redirection RFC 7238

What is HTTP 308 Permanent Redirect?

The 308 (Permanent Redirect) status code is the method-preserving counterpart of 301. Like 301, it indicates the resource has moved permanently. But like 307, it requires the client to preserve the HTTP method. This is important for non-GET requests like POST, PUT, and DELETE where changing the method would change the semantics.

Common Use Cases

  • Permanent API endpoint migration
  • Method-preserving permanent redirects
  • POST endpoint relocation
Help2Code Logo
Menu