303
↪️ Redirection RFC 9110, Section 15.4.4

See Other

The response to the request can be found at another URI using the GET method.

Common Use

The correct way to redirect after a POST request (Post/Redirect/Get pattern). Prevents form resubmission on page refresh.

API Endpoint

https://codes.uncodigo.com/http/303

Example with curl

curl -i https://codes.uncodigo.com/http/303

Try It

GET /http/303
Click "Send Request" to see the response...

Example

Request

POST /checkout HTTP/1.1

Response

HTTP/1.1 303 See Other
Location: /order-confirmation/12345

Related Headers

Location

The URI to redirect to with GET

Location: /order-confirmation/12345