grias / SocNet

Training project (ASP.NET WebAPI, Entity Framework)
0 stars 0 forks source link

Add idempotent key to posts #24

Open grias opened 2 years ago

grias commented 2 years ago

To avoid unintentional posts duplication we can implement idempotent keys to every post entity. Client adds the key to the request and then its uniqueness is checked by middleware. More info