laravel MethodNotAllowedHttpException在联机服务器上执行POST时

I have got MethodNotAllowedHttpException when running on online server, but on local server it runs well.

The PHP version is same, the method is used POST. The other POST methods are runs well except this one.

on blade.php

<form action="{{ route('update.product') }}" method="POST" enctype="multipart/form-data" class="form-horizontal js-form">

on routes/web.php

Route::post('/updateProduct', [
   'uses' => 'AdminController@updateProducts',
   'as' => 'update.product'
]);

Update:

After I changed the route into 'get'

Route::get('/updateProduct', [
   'uses' => 'AdminController@updateProducts',
   'as' => 'update.product'
]);

it reach the updateProducts function.

but of course there is no data to process. So, why my post method form sent the get method? and on the browser developer tools I've got POST?

but on my local server it runs well only on online server I've got this issue.

browser dev tools

This issue occurs due to a missing module extension PDO database on the server, so upload file into the application will throws error.

Installing the module extension will resolve the issue.

Can you try using different method if you use laravel collective.
{!! Form::open(['url' => 'client/store','method'=>'post','id'=>'client-register']) !!}

and in route it must be

Route::post('client/store', 'ClientController@store')>name('client.store').

or you can write your action

action="{{URL::to('client/store')}}"

At first see if routes are define properly.

And also you can try clearing the cache using artisan command.

php artisan config:cache

Hope it helps.