app/Http/Controllers/RequerimientosClientesController.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
Display a listing of the resource.
@return \Illuminate\Http\Response
Display a listing of the resource . @return \ Illuminate \ Http \ Response
public function index()
    {
        $requerimiento = Requerimientos_cliente::with('cliente','usuario','estado')->get();
        return response()->json($requerimiento);
    }
public function index ( ) { $ requerimiento = Requerimientos_cliente :: with ( 'cliente' , 'usuario' , 'estado' ) -> get ( ) ; return response ( ) -> json ( $ requerimiento ) ; }
Display a listing of the resource.
Display a listing of the resource .