Duplicated entry

Hello! i have a create comment method where i will be using HTTP Post to create the comment, however i need the postman to show duplicated entry when the post API is send repeatedly, is there any solution? currently it will repeat the entry and enter my database