Hi, I am using Loolreports pro and dashboard in my office project, I have integrated Koolreport and added dashboard and admin resource,
When I am clicking anywhere on the dashboard it is sending a POST(ajax) request, But I am getting nothing how to handle that post request, getting errors like ajax failing,
I have temporarily fixed the issue by adding a POST route on that URL, and handling that route like below,
route
Route::post('/dashboard', [DashboardController::class, 'handlePost']);
Controller for route
public function handlePost(Request $request)
{
App::create()->run();
}
Please suggest me the proper way to handle it. Is there anything I am missing in the configuration?
** I am using Koolreport in Laravel framework