Laravel "419 Page Expired" when submitting a form

PepploForum · Questions & Answers · https://forum.demo.pepploweb.com/threads/8-laravel-419-page-expired-when-submitting-a-form
KabirS · 20 Oct 2026, 12:16 PM
I get 419 Page Expired every time I submit my contact form. GET works fine. What am I missing?
MeeraCodes · 20 Oct 2026, 12:36 PM
Most likely the CSRF token is missing. Add @csrf inside your form:
PHP
<form method="post" action="/contact">
    @csrf
    ...
</form>
KabirS · 20 Oct 2026, 01:01 PM
Yes! That fixed it. Thanks @MeeraCodes 🙂