aavinseth
3 weeks ago
169
10
Laravel

GET method is not supported for homepage

Posted 3 weeks ago by aavinseth

I am getting error in fresh installation of laravel 8, MethodNotAllowedHttpException The GET method is not supported for this route. Supported methods: HEAD. error comes after running command php artisan route:cache on default page for first time

PFA below link for the error screencast

https://streamable.com/dfq7lw

Steps To Reproduce: composer create-project --prefer-dist laravel/laravel blog Run project localhost/blog/public Run command php artisan route:cache Run project localhost/blog/public error will come (The GET method is not supported for this route. Supported methods: HEAD.)

Please sign in or create an account to participate in this conversation.