The diagram
Every HTTP response is a decision.
Send a request from the rail, or call this page's live URL with curl, and watch the flowchart decide the status one question at a time.
The resource says POST creates a new thing and names its path. At N11 the body is accepted, the new URI goes into Location, and P11 notices the Location header and answers 201 Created.
Press Play to watch it run.
Send a request to see its path through the machine.
The diagram
Send a request from the rail, or call this page's live URL with curl, and watch the flowchart decide the status one question at a time.
No requests yet. Simulated and live requests appear here; select one to replay it.
We can't find the internet
Attempting to reconnect
Something went wrong!
Attempting to reconnect