The answer is somewhere else, at the URL in Location, and the client should fetch it with GET — whatever method the original request used.
Defined in RFC 9110 §15.4.4 — 303 See Other · MDN reference
The classic "Post/Redirect/Get" pattern: a form submission answers 303 pointing at a confirmation page, so refreshing the page does not resubmit the form. Also used by async APIs to point at a finished result.
The redirect that is supposed to change POST into GET. Test that your client does exactly that, and that it does not resubmit the body to the new URL.
Follow the Location with a GET and no body. This is the one redirect where changing the method is the specified behaviour, not a quirk.
1 endpoint in this playground answers with 303. 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