The resource is temporarily at another URL; repeat the same request — same method, same body — there, and keep using the original URL afterwards.
Defined in RFC 9110 §15.4.8 — 307 Temporary Redirect · MDN reference
Temporary moves where the method matters: an API failing over to another region, a load balancer bouncing an upload, HSTS upgrades in browsers (shown as an internal 307).
Test a redirected POST: the body has to arrive at the new location intact. Clients that rebuild the request from scratch often drop it.
Re-send the identical request to Location. Do not update bookmarks or stored URLs — it is temporary. Be wary of following a 307 that carries credentials to a different host.
1 endpoint in this playground answers with 307. Every one is free, needs no signup, and can be called from the browser or with curl.
GET https://funapi.dev/api/faults/v1/status/{code} — Return any status code on demand (200–599) (Fault Injection API) Open & run this endpointAll HTTP status codes · All 39 mock REST APIs · Getting started guide
Last updated