harshraj22 / harshraj22/Dis-Sim

Add Idempotency to submit endpoint

Open
#77 0 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.