302 Found
The resource is at another URL for now, given in Location. A browser may change a POST to a GET when it follows; 307 does not allow that.
What to do
The resource is at the Location URL for now, so keep using the original one. A POST may become a GET when it is followed. Use 307 to keep the method, or 303 to turn it into a GET on purpose.
- Class
- 3xx Redirection. The client has to take another step to complete the request.
- Registered
- Yes, in the IANA HTTP status code registry.
- Cacheable by default
- No. A cache stores it only when Cache-Control or Expires says to.
- References
- RFC 9110 ยง15.4.3 · MDN
Example response
HTTP/1.1 302 Found Location: https://example.com/for-now