POST
Do the filament forms automatically use POST method and do these also include @csrf? Searched through the internet and this is what I found to strengthen the security of my website.
6 Replies
Yes.
really? how? cuz when i typed php artisan route:list, most of routes are GET. Sorry for follow up, am a beginner.
Filament automatically uses POST for submitting form data. And Laravel requires @csrf automatically, and Filament also uses it automatically.
I see, is there some way to verify that?
Filament pages use Livewire. All Livewire forms use the
livewire/update
route, which is POST:
I see thank you. Also saw it using dev tools