S
S
Sergey Zavialov2019-02-02 16:43:41
Laravel
Sergey Zavialov, 2019-02-02 16:43:41

Laravel 5.7 how to submit a form?

The form.html file was created along the path C:\ospanel\domains\blog\public
When typing in the address bar http://blog/form.html
, a form appears. Fill it out and send it.
And submitting the form fails with an error.

Symfony \ Component \ HttpKernel \ Exception \ MethodNotAllowedHttpException
No message

When trying to submit the form several times, a generally strange message appeared
419 Извините, ваш сеанс истек. Обновите и повторите попытку.

What is the problem here?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
R11baka, 2019-02-03
@R11baka

Apparently you don't have a route to the form's action. Check form method and route

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question