Skip to main content
apiguide.dev

HTTP 302 — Found

The requested resource resides temporarily under a different URI.

Status CodeHTTP 302
CategoryRedirection (3xx)
API Error Subtypes0 error schemas
HTTP Headers1 header

What does HTTP status code 302 mean?

The 302 Found status code indicates that the resource is temporarily located at a different URI specified in the Location header.

When to use it in APIs

Used for temporary redirections. Like 301, standard clients often change POST to GET when redirected via 302.

How it compares to other codes

  • 307 Temporary Redirect: The modern counterpart that guarantees the HTTP method does not change during redirection.
  • 301 Moved Permanently: Represents a permanent redirect.

Specific API Error Types for 302

No specific Problem+JSON schemas have been defined for HTTP 302 on apiguide.dev yet.

Associated HTTP Headers

Related HTTP Status Codes