307 Temporary Redirect

It's over there for now. Ask the same way.

What it properly means

Like 302, except the client must not change the method: a POST stays a POST on the second request.

Class
3xx Redirection: go away
Defined in
RFC 9110, section 15.4.8

Get one yourself

This endpoint really answers with 307. Point your client at it and see what it does.

curl -i https://httpcodes.dev/api/307

People mix this up with

  • 302 Found303 See Other307

    Which temporary redirect?

    302 is the vague old one: clients may or may not switch to GET. 303 says always follow with a GET, which is what you want after a form POST. 307 says keep the same method and body.