I have write some API's routes in api.php file with post method. But when I call this method from postman the laravel application throw following error

> 
> Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException:
> in file
> /home/my-repo/public\_html/vendor/laravel/framework/src/Illuminate/Routing/RouteCollection.php
> on line 255
> 
> 
> 

**Route**

Route::post('login', 'ApiController@login');
Above route I call from postman with post method but I get error all the time.

Note: I have deployed my code on sharedhosting "namecheap"