HTTP 302 Found
A temporary redirect. Keep using the original URL in future.
Good to know
- Historically changes POST to GET; use 307 when the method must be kept.
Example response
HTTP
HTTP/1.1 302 Found
Location: https://example.com/new-location
Content-Type: application/json; charset=utf-8
{ "ok": true }Look up the headers shown here in the HTTP headers reference.
Common questions
- What does HTTP 302 mean?
- Found. A temporary redirect. Keep using the original URL in future.
- When should I use 302?
- Historically changes POST to GET; use 307 when the method must be kept.
- Is 302 an error?
- No. 3xx codes are redirection responses: Further action is needed to complete the request, usually following a Location header.