HTTP status code 307 — Temporary Redirect

Quick answer

Status code 307 (Temporary Redirect): Temporary redirect that preserves the request method. Unlike classic 302, POST stays POST when following Location.

Unlike classic 302, POST stays POST when following Location.

Use 307 when a temporary hop must not convert POST into GET. Location still points at the temporary target.

Common causes

How to fix it

Confirm your HTTP client actually re-sends the body on 307 (some older libraries silently drop it) — check the target host received your payload.

All HTTP status codesJSON Formatter

Related: 308304302301400401

Frequently asked questions

What is status code 307?

307 Temporary Redirect: Temporary redirect that preserves the request method. Unlike classic 302, POST stays POST when following Location.

When should I expect HTTP 307?

Use 307 when a temporary hop must not convert POST into GET. Location still points at the temporary target.

What usually causes HTTP 307?

Load-balancer failover to a backup origin; API gateway temporarily routing to a different backend version.

How do I fix HTTP 307?

Confirm your HTTP client actually re-sends the body on 307 (some older libraries silently drop it) — check the target host received your payload.

Where can I see all status codes?

Open the HTTP status codes hub on TryDevSnip for the full reference list.

Does TryDevSnip log my API traffic?

No. These pages are static reference. TryDevSnip does not proxy or inspect your HTTP calls.

TryDevSnip