Ajax response DELETE not working

hi, i tried deleting data with ajax, but there was no response with exeoutput.
In chrome browser it works fine. please help me, where should I fix it. or maybe the exeoutput doesn’t support the DELETE http request method.
Method POST, GET is work fine.
this is my code:

$(document).on('click', 'button.delete_category_button', function() {
        swal({
            title: LANG.sure,
            text: LANG.confirm_delete_category,
            icon: 'warning',
            buttons: true,
            dangerMode: true,
        }).then(willDelete => {
            if (willDelete) {
                var href = $(this).data('href');
                var data = $(this).serialize();

                $.ajax({
                    method: 'DELETE',
                    url: href,
			//url: "http://heserver/public/index.php/categories/4",
                    dataType: 'json',
                    data: data,
                    success: function(result) {
                        if (result.success === true) {
                            toastr.success(result.msg);
                            category_table.ajax.reload();
                        } else { 
                            toastr.error(result.msg);
                        }
                    },
                });
            }
        });
    });

By default HTTPS is enabled in ExeOutput apps. If you use HTTP only (as per your link in your code), your AJAX call will fail. Try https:// in your URL.
Check the console of the Developer tools too.

I’ve tried it. from console there is no error, response 200 is ok, but no value is returned. I use laravel 5.4, and I bypassed the https url.
maybe I really need to replace this method with POST or GET. but I will be very happy if there is a solution for this. there will be a lot of code that I have to edit later to use exeoutput in my project. :smile:

We added the DELETE method on our TODO list for review.

glad to hear that, I’m waiting for the good news for the next update. success for the gdgsoft team :smiling_face_with_three_hearts: