When I use DataTables Ajax with type POST, I cannot get customData since customData is only available through query parameters. Therefore I need to check whether the request is POST or GET. If it is POST request then all parameters are in $request->request->all()instead of $request->query->all().
When I use DataTables Ajax with type POST, I cannot get customData since customData is only available through query parameters. Therefore I need to check whether the request is POST or GET. If it is POST request then all parameters are in
$request->request->all()
instead of$request->query->all()
.