adspace


What is Basic Response in Laravel ?

Answer Posted / Nirmal Kishore Pandey

A basic response in Laravel refers to a simple response that can be returned by a controller action. This can be done using the with() method followed by the json() method, like so: n`return response()->json($data);` where $data is your data.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do you know what version of laravel do you generally use?

839


What is current stable version of laravel?

870


What is latest version of laravel?

868


How much laravel experience do you have?

815


Tell us have you used lumen before?

808