@http · HTTP status codes, explained HTTP/1.1 308 Permanent Redirect ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3xx · Redirection Permanently elsewhere; repeat the same method. WHAT IT MEANS ──────────────────────────────────────────────────────────── The resource has permanently moved to the URL in Location, and the client must keep the same method and body. It's the method-preserving version of 301. WHY YOU'RE SEEING IT ───────────────────────────────────────────────────── → API endpoints that moved for good. → Hosting platforms that redirect HTTP to HTTPS, or remove trailing slashes. HOW TO FIX IT ──────────────────────────────────────────────────────────── → Point Location at the final URL to avoid redirect chains. → Like 301, browsers cache it; test with 307 first. EXAMPLE RESPONSE ───────────────────────────────────────────────────────── HTTP/1.1 308 Permanent Redirect Location: https://athttp.com/308 Content-Length: 0 related 301 Moved Permanently   307 Temporary Redirect   302 Found spec RFC 9110 §15.4.9 https://www.rfc-editor.org/rfc/rfc9110#section-15.4.9 web https://athttp.com/308 ← curl athttp.com/307 curl athttp.com/400 →