hi, friend. where you are put this code? in blade template?
Yes,
{{ csrf_field() }}
its a right. And you can use this
<input type="hidden" name="_token" value="{{ csrf_token() }}">
Hi owl, I put it in the vue file, didn't work. I moved it to the blade file. Thx
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community