An interesting way to perform C.R.U.D. in your Express.js API app without using delete
is only using a post
. You might be asked, Why post
? Because you mostly needed to perform delete to pass an argument such as an ID or identifier to which specific record you're trying to delete. It's a matter of managing your functions in your API app and defining a corresponding method either post
or get
, even if you refrain from using the delete
method request. Nonetheless, it depends on your system use case.