307
Temporary Redirect
3xx · Redirection
The request should be repeated with another URL, keeping the method.
What does HTTP 307 Temporary Redirect mean?
Like 302, but it guarantees the HTTP method and body are not changed when the request is repeated to the new URL. Use it when a POST must stay a POST after the redirect.
3xx responses tell the client that further action — usually following a new URL — is needed to complete the request. They are central to redirects and caching.
Common causes
- Temporary redirect that must preserve the request method (e.g. POST)
- HSTS upgrading HTTP to HTTPS
What to do
- Use 307 when method preservation matters; otherwise 302 is fine
- Confirm the Location header is correct
Related 3xx status codes
Look up and search every HTTP status code in one place.
Open the HTTP Status Code tool