set json response header for all methods in contropller code example
Example: response()->json(['data' => $allCheaters]) not getting back
return response()->json(['name' => 'Abigail', 'state' => 'CA']);
return response()->json(['name' => 'Abigail', 'state' => 'CA']);