My Laravel POST route returns 405 GET Method not allowed when I am sending a POST request through AJAX. However the problem is that it works in
Update your action
/adminpanel/projects/delete //^^ Removed that slash
Remove that slash and it'll work for you.