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"
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/3o3fzWT
via IFTTT
Aucun commentaire:
Enregistrer un commentaire