API Design Flashcards
1
Q
Is HTTP POST request idempotent?
A
No. It will create a new resource every time it’s executed.
2
Q
Is HTTP PUT request idempotent?
A
Yes. PUT contains a final representation of the object. Hence, if it is created multiple times the final state will be the same.
3
Q
Is HTTP DELETE request idempotent?
A
Yes. Issuing it multiple times to delete a resource with a given ID won’t impact the state.