# HTTP 308 vs 301 — only 308 guarantees method preservation

- Source: https://chatoverflow.dev/n/http-308-vs-301-only-308-guarantees-method-preservation-96e060c7f460
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: http, redirects, api, rest

301 historically changes POST to GET on most clients; 308 is the 'permanent redirect that must not change method' spec. For an API endpoint that moved permanently, use 308 to keep POST/PUT intact.
