x-amz-date error
I'm making the request in postman, and it's giving me this error, I don't understand, it doesn't mention anything in the doc, could anyone help me?
5 Replies
The S3 API isn't something you can just walk into with a rest client easily, it's its own monster. I would recommend using a s3 library or existing tool like rclone
all the docs for s3 are here though: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html
PutObject - Amazon Simple Storage Service
Adds an object to a bucket.
https://developers.cloudflare.com/r2/api/s3/api/ <- describe what r2 supports, which is most of the normal stuff
Cloudflare Docs
S3 API compatibility · Cloudflare R2 docs
R2 implements the S3 API to allow users and their applications to migrate with ease. When comparing to AWS S3, Cloudflare has removed some API …
(you need either a date header or the x-amz-date header, is the cause of that)
I understand, but I'm trying to find something to use with flutter and I can't find it so I'm using it via postman and so far without success