Skip to content
Advertisement

Laravel5.8: The GET method is not supported for this route. Supported methods: POST. issue

I am setting user profile update section. But when I went to profile create page, I got a following error.

The GET method is not supported for this route. Supported methods: POST.

I tried php artisan route:clear and checked everything. But I couldn’t solve this issue, so I am glad if someone helps me out.

web.php

JavaScript

create.blade.php

JavaScript

profile table

JavaScript

UserController.php

JavaScript

Advertisement

Answer

Look you are using only two routes. One is for index and one is for storing. Where is the route that goes to the create page?? Add that route and controller method.

JavaScript

Controller

JavaScript

Form

JavaScript

And your create profile button

JavaScript
User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement