DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
API Development Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
medium
API Development
What's the general fix for making an operation safe to retry when its natural expression (like an increment) is inherently non-idempotent?
A
There is no possible fix, non-idempotent operations must never be retried
B
Express the operation as an absolute value instead of relative, OR use a unique idempotency key the server deduplicates against
C
Always use GET instead of PATCH
D
Simply ignore the risk since it rarely happens in practice
Check Answer