skip to Main Content

CSRF token mismatch.", exception: "SymfonyComponentHttpKernelExceptionHttpException – Jquery

function edit_expense(val){ var id = val; var amount = $('#expense_amount_'+id).val(); var image = $('#img_file_'+id)[0].files[0]; $.ajax ({ type:'post', url:'{{route('edit_expense')}}', headers: { 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') }, processData: false, contentType: false, data: { "_token": "{{ csrf_token() }}",'id':id, 'amount': amount,'image': image }, success:function(data) { $('.revnue_updated').removeClass('d-none');…

VIEW QUESTION

laravel 9 register dont work page refresh – Phpmyadmin

I tried to add an image to the register but I don't know why since the register no longer works Register blade @extends('layouts.app') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-8"> <div class="card"> <div class="card-header">{{ __('Register') }}</div> <div class="card-body"> <form…

VIEW QUESTION
Back To Top
Search