简体   繁体   中英

How to upload files to Wasabi from Flutter

I am currently working on an application where I would like to upload videos and images to a Wasabi s3 bucket in Flutter. I first attempted to use amplify_flutter<\/a> , but this did not work because as detailed in their setup guide<\/a> I am required to log into Amazon Web Services in order to configure the package.

copying this code did give me the ability to connect with https:\/\/s3.wasabisys.comm<\/a> , but when using a POST request to upload the files, the url returns this error message:

<Error><Code>MethodNotAllowed</Code><Message>The specified method is not allowed against this 
resource.</Message><RequestId>9E0DDF6269E6C862</RequestId>
<HostId>rLX8KeJ9ZPbk6+Zy+GvXUgG1f8ffJ8cNK92KUBnd8DLruqbWbX7dWyKy37N4IoHtqp41+ctRVEBC</HostId></Error>

I'm using minio, but while large file uploading UI is freezing. Can you guide me?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM