app/Http/Controllers/ApiPostController.php
/**
     * Display a listing of the resource.
     *
     * @return PostModel[]|\Illuminate\Database\Eloquent\Collection
     */
Display a listing of the resource.
Display a listing of the resource .
public function index()
    {
        return PostModel::all();
    }
public function index ( ) { return PostModel :: all ( ) ; }
Display a listing of the resource.
Display a listing of the resource .
//