Closed aalfiann closed 5 years ago
Hi @aalfiann,
preparing of data is disabled in DELETE
method. You can get raw data via $.body
property. It's because in most cases you send only id
of record for deleting some records. Therefore Total.js disables validation.
Yeah, in most cases only need id
record for deleting the data. But in our project there is 3 conditions required and it's too long if I just put it in url.
Btw, $.body
is work.
Thank you very much.
My question is how to get body request value when using DELETE method?
controller
schema
cURL
console.log Why the id is empty?