Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

satheeshkumarj's avatar

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

i am using laravel 8 . Showing error when submitting form

My From

  <form action="{{ route('campaign.selectuserstore') }}" id="fromSelectUser" name="fromSelectUser" method="POST"> 

                 @csrf
</form>

Route

Route::post('/campaign/userstore',  [CampaignController::class, 'selectuserstore'])->name('campaign.selectuserstore');
0 likes
3 replies
SilenceBringer's avatar
Level 55

@satheeshkumarj check your routes, maybe you have several with the same name.

Also you can try t clear routes cache just in case

php artisan optimize:clear
1 like
MohamedTammam's avatar

Please show all routes. and the selectuserstore method.

1 like
siangboon's avatar

try use postman or similar tool to test the post....

it seem something wrong with your form.... double check the page source the rendered action url, case sensitive error or any unbalanced tag rendered

1 like

Please or to participate in this conversation.