Support the ongoing development of Laravel.io →
Requests Forms
Last updated 2 years ago.
0

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() }}">
Last updated 7 years ago.
0

Hi owl, I put it in the vue file, didn't work. I moved it to the blade file. Thx

0

no please :)

0

Sign in to participate in this thread!

Eventy

Your banner here too?

SigalZ sigalz Joined 5 May 2016

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.