Tag: s3 strongloop

使用Strongloop无法从s3获取特定文件

我可以上传,删除,并从容器(S3)获取文件夹列表,但不能从亚马逊S3使用Strongloop获得特定的文件。 我的代码: $scope.getS3Files = function(myfolderName){ //have to get all zip files in myfolderAbc $http.get('api/basePath/containerABC/files/folder1/myfolderAbc=' + myfolderName).then(function (result) { $scope.filePath = result.data; }, function (err) { toastr.error(err.data.error.message); }), }; 错误: message: "Shared class "basePath" has no method handling GET /containerABC/files/folder1/myfolderAbc=myfolderName" name: "Error" stack: "Error: Shared class "basePath" has no method handling GET /containerABC/files/folder1/myfolderAbc=myfolderName↵ at restRemoteMethodNotFound (d:\NodeJSProjects\abc\node_modules\loopback\node_modules\strong-remoting\lib\rest-adapter.js:322:17)↵ […]