HTTP 302 Found
The resource resides temporarily under a different URL.
3xx Redirection
302
Found
Description
The 302 Found status code indicates that the target resource resides temporarily under a different URI. Since the redirection might be altered on occasion, the client ought to continue to use the target URI for future requests. The server should generate a Location header field in the response containing a URI reference for the different URI. The user agent may use the Location field value for automatic redirection. Historically, user agents changed the request method from POST to GET for the subsequent request, which is why 303 and 307 were introduced to explicitly distinguish between the two behaviors. However, most modern implementations treat 302 as if it were 303.
When Is It Used?
Used for temporary redirects when a resource is temporarily available at a different URL. Common for A/B testing, temporary maintenance redirects, geolocation-based redirects, or when a resource is temporarily hosted elsewhere.
Example Response
HTTP/1.1 302 Found
Location: https://www.example.com/temporary-page