laravel json response example Example: response()->json(['data' => $allCheaters]) not getting back return response()->json(['name' => 'Abigail', 'state' => 'CA']);