HTTP status code 308 — Permanent Redirect
Quick answer
Status code 308 (Permanent Redirect): Permanent redirect that preserves the request method. Like 301 for SEO permanence, but keeps POST/PUT methods intact.
Like 301 for SEO permanence, but keeps POST/PUT methods intact.
308 is the permanent counterpart to 307. Prefer it when APIs must not downgrade POST during a permanent move.
Common causes
- An API endpoint permanently moved to a new path/version
- Trailing-slash normalization on some frameworks (e.g. Express strict routing)
How to fix it
Update the client to call the new URL directly — 308 preserves your POST body, so this is safe to follow automatically.
Frequently asked questions
What is status code 308?
308 Permanent Redirect: Permanent redirect that preserves the request method. Like 301 for SEO permanence, but keeps POST/PUT methods intact.
When should I expect HTTP 308?
308 is the permanent counterpart to 307. Prefer it when APIs must not downgrade POST during a permanent move.
What usually causes HTTP 308?
An API endpoint permanently moved to a new path/version; Trailing-slash normalization on some frameworks (e.g. Express strict routing).
How do I fix HTTP 308?
Update the client to call the new URL directly — 308 preserves your POST body, so this is safe to follow automatically.
Where can I see all status codes?
Open the HTTP status codes hub on TryDevSnip for the full reference list.
Does TryDevSnip log my API traffic?
No. These pages are static reference. TryDevSnip does not proxy or inspect your HTTP calls.