GetObject
- Print
- PDF
GetObject
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
Overview
Downloads the object by making a GET request with the specified object path. No parameters or payload is used for the operation.
Request
Syntax
GET https://{endpoint}/{bucket-name}/{object-name} # path style
GET https://{bucket-name}.{endpoint}/{object-name} # virtual host style
Header
Header Name | Required | Type | Restrictions | Description |
---|---|---|---|---|
range | No | string | Returns the size of the object in bytes within the specified range. | |
if-match | No | string (ETag) | Returns the object if the specified ETag string matches the source object. | |
if-none-match | No | string (ETag) | Returns the object if the specified ETag string does not match the source object. | |
if-unmodified-since | No | string (timestamp) | Returns the object if the source object has not been modified since the specified date. It must be in the valid date format (e.g.: Wed, 30 Nov 2016 20:21:38 GMT). | |
if-modified-since | No | string (timestamp) | Returns the object if the source object has been modified since the specified date. It must be in the valid date format (e.g.: Wed, 30 Nov 2016 20:21:38 GMT). |
Examples
Request example
GET /example-bucket/worker-bee HTTP/1.1
Authorization: {authorization-string}
x-amz-date: 20160825T183244Z
Host: kr.object.ncloudstorage.com
Response example
HTTP/1.1 200 OK
Date: Thu, 25 Aug 2016 18:34:25 GMT
x-amz-request-id: 116dcd6b-215d-4a81-bd30-30291fa38f93
Accept-Ranges: bytes
ETag: "d34d8aada2996fc42e6948b926513907"
Content-Type: text/plain; charset=UTF-8
Last-Modified: Thu, 25 Aug 2016 17:46:53 GMT
Content-Length: 467
Female bees that are not fortunate enough to be selected to be the 'queen'
while they were still larvae become known as 'worker' bees. These bees lack
the ability to reproduce and instead ensure that the hive functions smoothly,
acting almost as a single organism in fulfilling their purpose.
Was this article helpful?