GET Object

You fetch objects from S3 using the GET operation. This operation returns the object directly from S3 using a client/server delivery mechanism. If you want to distribute big files to a large number of people, you may find BitTorrent delivery to be preferable since it uses less bandwidth. Please see the section on Using BitTorrent with S3 for details.

Example

Retrieve the "Nelson" object and its metadata from the "quotes" bucket:

Sample Request

GET /quotes/Nelson HTTP/1.0
Authorization: AWS 15B4D3461F177624206A:nV/j6LGf9AcWQ2jId1qOGgekHPQ=
Date: Thu, 17 Nov 2005 08:22:38 GMT

Sample Response

HTTP/1.1 200 OK
x-amz-id-2: j5ULAWpFbJQJpukUsZ4tfXVOjVZExLtEyNTvY5feC+hHIegsN5p578JLTVpkFrpL
x-amz-request-id: BE39A20848A0D52B
Date: Thu, 17 Nov 2005 08:22:38 GMT
x-amz-meta-family: Muntz
Last-Modified: Thu, 17 Nov 2005 08:22:38 GMT
ETag: "828ef3fdfa96f00ad9f27c383fc9ac7f"
Content-Type: text/plain
Content-Length: 5
Connection: close
Server: AmazonS3

HA-HA

Request Headers

The GET request method on objects supports several standard HTTP request headers. These are briefly described below, for details see the HTTP spec, RFC 2616 (http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).

Response Headers

Access Control

The GET will succeed if you have been granted READ access to the object. If you make a request without an authorization header, then you can read the object if READ access has been granted to the anonymous user.