Q:

Solving TokenMismatchException in VerifyCsrfToken.php in POST request

I'm kinda new on Laravel.  I have created some routes for GET and POST, but the only working fine is the GET ones.  The POST ones always returns TokenMismatchException, even though the process inside and the database query is executed properly.  Some of the questions I saw on SO usually talking about AJAX, and the solution involves sending token.  But I don't use any AJAX... yet, and usually the answers said that if I use an ordinary POST form, Laravel will insert a hidden token. 
Here's the routes code:
Route::post('/practice/{level_id?}/{group_id?}/{command?}', ' WebController@practice');
Route::get('/practice/{level_id?}/{group_id?}/{command?}', ' WebController@practice');

And here's how I receive it on the webcontroller:
public function practice($level_id = "", $group_id = "", $command = "")

Is there something wrong?  What could possibly makes my POST request fail?  Thanks. 

A:

Please add a hidden field in your form. If you are using Laravel form builder then its automatically adds a hidden token field to your form when you do Form::open(). 
Try with Something like this:
<input name="_token" type="hidden"  value="{{ csrf_token() }}">

