@http · HTTP status codes, explained HTTP/1.1 307 Temporary Redirect ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3xx · Redirection Temporarily elsewhere; repeat the same method. WHAT IT MEANS ──────────────────────────────────────────────────────────── The resource is temporarily at the URL in Location, and the client must repeat the request with the same method and body. A POST stays a POST. WHY YOU'RE SEEING IT ───────────────────────────────────────────────────── → Temporary redirects in APIs, where changing the method would break the request. → Browsers show an "Internal Redirect" 307 when HSTS upgrades http:// to https:// before any request leaves the machine. HOW TO FIX IT ──────────────────────────────────────────────────────────── → If the move is permanent, use 308. → If you want the client to switch to GET, use 303. EXAMPLE RESPONSE ───────────────────────────────────────────────────────── HTTP/1.1 307 Temporary Redirect Location: https://api-2.example.com/v1/orders Content-Length: 0 related 308 Permanent Redirect   302 Found   303 See Other spec RFC 9110 §15.4.8 https://www.rfc-editor.org/rfc/rfc9110#section-15.4.8 web https://athttp.com/307 ← curl athttp.com/305 curl athttp.com/308 →