Skip to content

Uploading files to S3 using POST is not supported by AWS #1230

@okovalenko0

Description

@okovalenko0

Describe the bug

When accessing Minio API "CreateMultipartUpload" with the HTTP post method, you get "Uploading files to S3 using POST is not supported by AWS, use PUT instead."

To Reproduce

Steps to reproduce the behavior:

  1. Create HttpRequestMessage with HttpMethod.Post, and URL - http://localhost:9000/documents/02ccb210-bba2-42e2-b8d7-49891759978f?uploads=
  2. Use Signer.SignAsync(request, null, request.Headers, DateTime.UtcNow, region, "s3", credentials); to sign the request.
  3. See error

Expected behavior

No error, request successfully signed and sent

Desktop:

  • OS: Windows
  • Version 22631.4602

Additional context

Package version is 5.0.0

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions