This commit is contained in:
2026-08-28 18:40:33 +07:00
parent d74635c47a
commit a559824faa
+3 -3
View File
@@ -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
"""