@saroh to Ye Power Trippin' [email protected] • 3 days agoOblivious world @ Lemmy world modimagemessage-square118arrow-up1464arrow-down139file-text
arrow-up1425arrow-down1imageOblivious world @ Lemmy world mod@saroh to Ye Power Trippin' [email protected] • 3 days agomessage-square118file-text
minus-squareidunnololzlink9•2 days agoAnother popular solution I see is to have the client generate a UUID when posting. Then the server can very easily tell if a request is a duplicate.
minus-squareJackbyDevlinkfedilinkEnglish2•1 day agoI’ve seen this concept called idempotency tokens. I thought it was common but a quick search didn’t find any articles on it so maybe the name is not that common.
Another popular solution I see is to have the client generate a UUID when posting. Then the server can very easily tell if a request is a duplicate.
I’ve seen this concept called idempotency tokens. I thought it was common but a quick search didn’t find any articles on it so maybe the name is not that common.
Yeah, that’s the proper fix.