Grokking Modern API Design Interview
Vote
0% completed
HTTP Methods and Their Semantics
A mobile application sends this request:
POST /orders
The server creates the order. The response is lost on the way back. After a timeout, the application sends the same request again.
How many orders now exist?
Two. Nothing in POST /orders prevents it, and nothing in HTTP treats the second delivery as a repeat of the first. Making the answer "one" takes a deliberate decision, and this lesson is where that decision gets made.
The method on a request is more than a label
.....
.....
.....
Like the course? Get enrolled and start learning!