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