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?

There may be two. POST does not automatically identify the second request as a retry. To create only one order, the operation needs an explicit duplicate-prevention rule.

The HTTP method defines the general meaning of a request. Clients and intermediaries use it when handling caching and retries, along with headers and the API's documented behavior.

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content