diff --git a/src/garageS3.jl b/src/garageS3.jl index 3e5d17f..1aecfd0 100644 --- a/src/garageS3.jl +++ b/src/garageS3.jl @@ -22,11 +22,11 @@ storage = GeneralUtils.GarageStorage( # Safe to run inside concurrent HTTP handlers (e.g., Oxygen.jl, HTTP.jl) # use UUID as filename because GarageS3 requires unique filename for each uploaded object -GeneralUtils.put_file(storage1, "transferjob-(GeneralUtils.uuid4snakecase())", "{\"status\": \"inactive\"}") +urls = GeneralUtils.put_file(storage1, "transferjob-(GeneralUtils.uuid4snakecase())", "{\"status\": \"inactive\"}") key = GeneralUtils.list_files(storage) println("Read back: ", data) -println("Bucket keys: ", keys) +println("Bucket keys: ", key) # test with curl curl -v \ @@ -36,7 +36,7 @@ curl -v \ # test with API data = String(GeneralUtils.get_file(storage, key[1])) -# test with a browser +# test with a browser (urls.web) https://s3-web.mydomain.com/my_bucket_name/users-1005.json """