Saikishore
5 years ago
748
21
General

Laravel Routing Issue for Post methods

Posted 5 years ago by Saikishore

Hi, I am trying to call controller using Routes. Everything is working fine when using GET method. When I worked on Post, i am not able to call the controller. Please check the below.

Error Code: Routing is not working

 Route::post('/accountSignUp', [
'as' => 'accountSignUp',
'uses' => 'UsersController@accountSignUp'
 ]);

can anybody suggest how to do it.

Please sign in or create an account to participate in this conversation.