PUT Object

From Hostway API Documentation
Revision as of 07:29, 20 May 2013 by Mike.robski (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

adds an object to a bucket

PUT /ObjectName

Requests

Syntax
PUT /ObjectName HTTP/1.1
Host: BucketName.hs2.hostway.com
Date: date
Authorization: signatureValue
Parameters

This implementation of the operation does not use request parameters.

Headers
  • Content-Type: A standard MIME type describing the format of the contents
  • Content-Disposition: Specifies presentational information for the object.
  • Content-Length: The size of the object, in bytes
  • x-amz-acl: The canned ACL to apply to the object.
  • x-amz-meta-*: Any header starting with this prefix is considered user metadata.

Responses

Headers
  • ETag
Elements

This implementation of the operation does not return response elements.

Examples

Sample Request
PUT /ObjectName HTTP/1.1
Host: BucketName.hs2.hostway.com
Date: date
Authorization: AWS signatureValue
Content-Type: text/plain
Content-Length: length
ObjectContent
Sample Response
HTTP/1.1 200 OK
Date : date
Connection : keep-alive
Content-Length : length
ETag: "etag"
Personal tools
Namespaces
Variants
Actions
APIs
Navigation
Toolbox