What do you want to save?
Add Code snippet
New code examples
-
Other 2021-09-30 03:06:03
HTTP call status: 419
Use this in the head section: <meta name="csrf-token" content="{{ csrf_token() }}"> and get the csrf token in ajax: $.ajaxSetup({ headers: { 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') } }); Add solution -
PHP 2021-09-18 03:53:03
use sweet alert 2 to delete confirmation laravel
<!doctype html> <html lang="en"> <head> <!-- Required meta tags --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no... Add solution