hardStudy question · answer published in REST API interview questions, so no pointsoffline-syncapi-design
Duplicate orders from offline retries
An offline queue retries a "place order" POST after a timeout. The server had actually processed the first attempt, so the customer gets two orders. What is the right fix?
Discussion 0
Join free to post in the discussion.
Related questions
- Duplicate posts in an infinite feedMobile App Developer
- Trusting the phone's clockMobile App Developer
- Renaming a field in the APIMobile App Developer
- Response for a successful DELETEBackend Developer
- A product page removed for goodBackend Developer
- Signing up with a taken usernameBackend Developer
- Calling DELETE on a read-only routeBackend Developer
- A client posts XML to a JSON APIBackend Developer