Skip to main content
apiguide.dev

HTTP 307 — Temporary Redirect

The resource resides temporarily under a different URI. Method must not be changed.

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

What does HTTP status code 307 mean?

The 307 Temporary Redirect status code indicates that the resource is temporarily located at a different URI and the client must reuse the original HTTP method (e.g. POST) when making the redirected request.

When to use it in APIs

Use when redirecting write operations (POST, PUT, DELETE) temporarily, ensuring the client resubmits the actual payload.

How it compares to other codes

  • 302 Found: Allows clients to change the method from POST to GET, whereas 307 strictly forbids it.

Specific API Error Types for 307

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

Associated HTTP Headers

Related HTTP Status Codes