Answers for "laravel only to json"

1

convert json string to json object in laravel

$manage = json_decode($request->stdin, true);
 print_r($manage);
Posted by: Guest on October-27-2020
2

laravel return json response

return response()->json([
    'name' => 'Abigail',
    'state' => 'CA',
]);
Posted by: Guest on October-01-2020
1

Laravel json response

return response()->json($array);
Posted by: Guest on May-17-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language