Request line (PUT object copy)

Depending on whether the bucket name is included in the hostname in the S3 compatible request, a request to copy an object has either of these formats:

With the bucket name included in the hostname:

PUT /target-object-name HTTP/1.1

With the bucket name following the hostname:

PUT /target-bucket-name/target-object-name HTTP/1.1

© 2015, 2020 Hitachi Vantara LLC. All rights reserved.