3xx Redirection
These status codes indicate that further action needs to be taken by the client to complete the request. Typically, this involves following a redirect to a different URI. The redirection may be permanent (301, 308) or temporary (302, 307), and may or may not preserve the request method.
300
Multiple ChoicesThe request has more than one possible response. The client should choose one from the list provided.
301
Moved PermanentlyThe requested resource has been permanently moved to a new URI. Future requests should use the new URI.
302
FoundThe requested resource is temporarily located at a different URI. The client should use the original URI for future requests.
303
See OtherThe response to the request can be found at a different URI and should be retrieved using a GET request. Often used after POST to prevent resubmission.
304
Not ModifiedThe resource has not been modified since the version specified in the If-Modified-Since or If-None-Match headers. Used for conditional requests.
305
Use ProxyThe requested resource must be accessed through a proxy specified in the Location header. This status is deprecated and rarely used.
306
UnusedThis status code was used in an earlier version of HTTP but is no longer used. It is reserved for future use.
307
Temporary RedirectThe request should be repeated with the same method and body at a different URI. Unlike 302, the method is not changed to GET.
308
Permanent RedirectThe resource has been permanently moved and future requests should use the new URI, keeping the same HTTP method (POST → POST, etc.).