Closed ivanlunardi closed 6 years ago
Hi @ivanlunardi,
which content-type is used in your request? DELETE
method is same like POST
or PUT
method and Total.js expects application/json
or application/x-www-form-urlencoded
.
i use $http client of angularjs , if in the same route a change delete in post , it works. with delete i receive 404 ,now i will try to force content-type
forcing content-type it works. thank you
In 2.9.4 a can't use 'delete' flag in request , other flags works.
Thank you
es: exports.install = function () { F.route('/prova',prova,['delete']) };
function prova() { var self = this; self.json(SUCCESS(true)); }