3xx Redirection
Go to this other address for now, and send the exact same kind of request there.
Use 307 when the redirect is temporary and the follow-up request must keep the same method and body.
POST https://api.example.test/api/v1/users307 Temporary Redirect
# Headers
Location: https://api.example.test/api/v2/usersThe client should repeat the same POST against the temporary target URI.
PUT https://api.example.test/uploads/123307 Temporary Redirect
# Headers
Location: https://api.example.test/edge-2/uploads/123The request semantics stay intact while the server temporarily shifts traffic.
Go somewhere else for now, but don’t assume this new address is the permanent one.
You submitted something successfully. Now go fetch this other page to see the result.
This moved for good, and you should keep using the same kind of request when you switch to the new address.