Can you show your routes file and the form code? It seems something is not defined corretcly.
Options are:
//route.php
Route::post('/',function(){ $data = Input::all(); var_dump($data); });
//view/form.blade.php
<form action="{{ url('/') }}" method="POST"> <input type="text" name="test" value="test" /> <input type="submit" /> </form>When i click submit, post data to the home path, and it had error.. symfony \ Component \ HttpKernel \ Exception \ MethodNotAllowedHttpException
But when i change the action to other path, it's okay.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community