You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm utilizing Minio for file storage, and I want to view certain files directly from my browser without having to download them. I've attempted to generate a pre-signed URL for this purpose, but unfortunately, it still prompts for download. Here's the code snippet I used:
# Generate pre-signed URL with read access for 2 hoursurl=MINIO_CLIENT.get_presigned_url(
"GET",
"example4-bucket",
object_name,
expires=timedelta(hours=2),
)
print("View URL for image.jpg:", url)
The text was updated successfully, but these errors were encountered:
I'm utilizing Minio for file storage, and I want to view certain files directly from my browser without having to download them. I've attempted to generate a pre-signed URL for this purpose, but unfortunately, it still prompts for download. Here's the code snippet I used:
The text was updated successfully, but these errors were encountered: