mercredi 20 janvier 2021

MethodNotAllwedException 405 Laraval 5.5.*

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"



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire