Z
Z
zxcursed2021-11-10 19:41:07
Laravel
zxcursed, 2021-11-10 19:41:07

How to make laravel not throw an error about a method?

Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException
The GET method is not supported for this route. Supported methods: POST.

How to make it not to be displayed like this, but to have an empty page / your own text, if removed via GET?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikita Zelikov, 2021-11-15
@gzmone

https://laravel.com/docs/8.x/requests I ask you to familiarize yourself with the great archives and secrets of mankind)))

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question