Csrf-token Post 405 (method Not Allowed) Laravel December 23, 2023 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 postsMulti-step Form "next" Button Not WorkingHTML/JS Open A Window To The C$ DriveJS Code To Get Count Values From List Then Connect With Hide/show Select OptionWhy Cant I Transfer Data To Another HTML Page Post a Comment for "Csrf-token Post 405 (method Not Allowed) Laravel"
Post a Comment for "Csrf-token Post 405 (method Not Allowed) Laravel"