harshraj22 / harshraj22/Dis-Sim
Add Idempotency to submit endpoint
Open
enhancement
- Dominant language
- Python
- Stars
- 10
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
Handle the case when due to network failure or other such cases, the user hits the submit endpoint multiple times with same image.
Add idempotency to the endpoint. Note that Subscription based rate limiting should be done only on distinct request, these requests should not be counted in the successful hits.
Reference: [Medium Article](https://medium.com/@saurav200892/how-to-achieve-idempotency-in-post-method-d88d7b08fcdd)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.