Answers for "json decode in laravel controller"

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

Code answers related to "Javascript"

Browse Popular Code Answers by Language