Exemple #1
0
 /**
  * Display a listing of the resource.
  *
  * @return \Illuminate\Http\Response
  */
 public function index()
 {
     $cliente = \App\Cliente::get();
     return response()->json(["msg" => "Success", "cuenta" => $cliente->toArray()], 200);
 }