HTTP status codes / 3xx — Redirection
307 Temporary Redirect
Temporary redirect that preserves the method and body.
What it means
Like 302, but strict: the client must repeat the request to the new URL with the same method and body. The right choice when redirecting POST/PUT/PATCH requests temporarily.
Common causes
- Temporary move where the method must be preserved
- HSTS-style internal redirects
- Some load balancers during failover
Reproduce it in cURL
curl -i https://httpbin.org/status/307
Same request, no terminal: paste this into the cURL converter for native code, or straight into ReqPad on your phone.
How to debug it
If a POST keeps its body through a redirect, it was a 307/308; if it arrives as a GET, it was a 301/302/303.
The fastest way to pin down a 307 is to reproduce the exact request and inspect what actually went over the wire — status, headers, timing and body, without your app code in the way. That is what an API client is for; ReqPad does it from your phone, with every request saved to history.
Related codes
300 Multiple Choices · 301 Moved Permanently · 302 Found · 303 See Other · 304 Not Modified · 308 Permanent Redirect — or the full reference.
Reproduce that 307 in 10 seconds.
Build the request, send it, read status + headers + timing — on your iPhone. Free to start.