HTTP 307 — Temporary Redirect
3xx Redirection
What it means
Like 302, but guarantees the method and body are preserved. A POST stays a POST.
What to do about it
Prefer 307 over 302 for anything that is not a plain GET.
Where it sits
307 belongs to the 3xx family: Further action is needed to complete the request — usually following a redirect.
HTTP/1.1 307 Temporary Redirect
Checking it yourself
# see the status code and headers only
curl -sI https://example.com/path
# follow redirects and print each hop
curl -sIL -o /dev/null -w "%{http_code} %{url_effective}\n" https://example.com/path
# JavaScript
const r = await fetch(url);
console.log(r.status, r.statusText);