i use Type = POST and add _method="DELETE"
$.ajax({
type: "POST",
url: "/sizespec/destroy",
data: {sizeSpecId : sizeSpecId, _method:"DELETE"},
success: function() {
location.reload();
}
});
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community