Csrf-token Post 405 (method Not Allowed) Laravel February 27, 2024 Post a Comment I am loading a modal whenever a user tries to register Blade ... Solution 1: Add url to ajax object: $.ajax({ headers: { 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') }, method : 'POST', url: '/register', success : function(data){ $("#legalModal").modal("show"); } }); Copy Share You may like these postsDrag And Dropping Columns Php, Js, How Can That Be Done?Get Multiple Corresponding Values From Different Html Tags To Use In A FunctionJqmath Not Loading CorrectlyResize Rectangle Html5 Canvas Post a Comment for "Csrf-token Post 405 (method Not Allowed) Laravel"
Post a Comment for "Csrf-token Post 405 (method Not Allowed) Laravel"