php laravel return json response code example
Example: php laravel return json response
return response()->json([
'name' => 'Abigail',
'state' => 'CA'
]);
return response()->json([
'name' => 'Abigail',
'state' => 'CA'
]);