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