GetObject

Prev Next

오브젝트 경로가 지정된 GET 요청을 전달하면 오브젝트를 다운로드합니다. 오퍼레이션에 사용되는 파라미터, 페이로드는 없습니다.

GET https://{endpoint}/{bucket-name}/{object-name} # path style
GET https://{bucket-name}.{endpoint}/{object-name} # virtual host style
HTTP
헤더 타입 설명
range string 지정한 범위 내에서 오브젝트의 크기를 바이트 단위로 반환함
if-match string (ETag) 지정한 ETag 문자열이 소스 오브젝트와 일치하는 경우 오브젝트를 반환함
if-none-match string (ETag) 지정한 ETag 문자열이 소스 오브젝트와 다를 경우 오브젝트를 반환함
if-unmodified-since string (timestamp) 지정한 날짜 이후에 소스 오브젝트를 수정하지 않은 경우 오브젝트를 반환함
유효한 날짜 형식이어야 함 (예: Wed, 30 Nov 2016 20:21:38 GMT).
if-modified-since string (timestamp) 지정한 날짜 이후에 소스 오브젝트를 수정한 경우 오브젝트를 반환함
유효한 날짜 형식이어야 함 (예: Wed, 30 Nov 2016 20:21:38 GMT).
GET /example-bucket/worker-bee HTTP/1.1
Authorization: {authorization-string}
x-amz-date: 20160825T183244Z
Host: kr.object.fin-ncloudstorage.com
HTTP
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.
HTTP