KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

Inputs package in Laravel #688

Closed Rafal Ciesielski opened this topic on on Feb 18, 2019 - 3 comments

Rafal Ciesielski commented on Feb 18, 2019

I have a problem to use Inputs in Laravel application. Error message after clik button Load : Symfony \ Component \ HttpKernel \ Exception \ MethodNotAllowedHttpException No message How do you use the POST method correctly in the form?

KoolReport commented on Feb 19, 2019

Please check your route, probably your Route is GET but you try to POST.

KoolReport commented on Feb 19, 2019
Rafal Ciesielski commented on Feb 19, 2019

Problem solved. *. routing file WEB.PHP must redirect POST to the page with the report, the same as GET.

    Route::get('/home', 'HomeController@index');
    Route::post('/home', 'HomeController@index');

*. In the View.php file, an entry must be placed:

<input type = "hidden" name = "_ token" value = "<? Php echo csrf_token ();?>">;

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
help needed
solved

Laravel