saroh@lemmy.world to Ye Power Trippin' Bastards@lemmy.dbzer0.com · 1 month agoOblivious world @ Lemmy world modlemmy.worldimagemessage-square121fedilinkarrow-up1473arrow-down140file-text
arrow-up1433arrow-down1imageOblivious world @ Lemmy world modlemmy.worldsaroh@lemmy.world to Ye Power Trippin' Bastards@lemmy.dbzer0.com · 1 month agomessage-square121fedilinkfile-text
minus-squareidunnololz@lemmy.worldlinkfedilinkarrow-up13·1 month 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-squareJackbyDev@programming.devlinkfedilinkEnglisharrow-up5·1 month 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.