I want to use the S3 CopyObject API with Postman. Although the response status is 200, the content-length is 0, and the destination file exists but the file size is zero.
Url: https://<bucket>.s3.<region>.amazonaws/<destination-object>.jpg?X-Amz-Copy-Source=<source-folder>/<source-object>.jpg
Other parameter uses Postman authorization and request content-length is 0.
I want to use the S3 CopyObject API with Postman. Although the response status is 200, the content-length is 0, and the destination file exists but the file size is zero.
Url: https://<bucket>.s3.<region>.amazonaws/<destination-object>.jpg?X-Amz-Copy-Source=<source-folder>/<source-object>.jpg
Other parameter uses Postman authorization and request content-length is 0.
Share Improve this question edited Feb 3 at 4:08 Doggu asked Feb 3 at 4:02 DogguDoggu 1001 gold badge2 silver badges10 bronze badges1 Answer
Reset to default 0Sorry, I made a mistake. I thought X-Amz-Copy-Source
was a query parameter, but it is a header. Changing the query parameter to a header worked for me.