System Design · Junior · Question 6 of 75
Which HTTP method is NOT idempotent?
- ✓Correct answer:
POST - 2
PUT - 3
DELETE
Explanation
Idempotency: repeating the same request has the same effect on the server. PUT replaces a resource entirely, DELETE removes it - repeating changes nothing. Two "create order" POSTs create two orders. That's why retrying POST on failure is dangerous without an idempotency key.