RESTful Soft Delete

You should use DELETE.

What you intend to do with your data is called “soft deleting”: you set a flag and avoid flagged items from appearing. This is internal to your webapp and the user doesn’t have to know that you’re soft deleting instead of deleting or whatever you want to do. This is why you should use the DELETE verb.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)