Available in Classic and VPC
Save an object in a Ncloud Storage bucket.
Request
This section describes the request format. The method and URI are as follows:
Method | URI |
---|---|
PUT | /{Key} |
Request headers
The following describes the request headers.
Note
For information about the headers common to all Ncloud Storage APIs, see Ncloud Storage request headers.
Field | Required | Description |
---|---|---|
Cache-Control |
Optional | Caching behavior |
Content-Disposition |
Optional | Display format of requested data |
Content-Encoding |
Optional | Encoding format of requested data |
Content-Language |
Optional | Request data language |
Content-Type |
Optional | Request data format |
x-amz-storage-class |
Optional | Storage class
|
x-amz-server-side-encryption-customer-algorithm |
Optional | User encryption algorithm (AES256) |
x-amz-server-side-encryption-customer-key |
Optional | User-provided encryption key |
x-amz-server-side-encryption-customer-key-MD5 |
Optional | User-provided encryption key's MD5 value |
Request path parameters
You can use the following path parameters with your request:
Field | Type | Required | Description |
---|---|---|---|
Key |
String | Required | Object name
|
Request example
The request example is as follows:
PUT /object.csv HTTP/1.1
Host: {Bucket}.kr.ncloudstorage.com
Content-Length: 17423
<object.csv binary data>
Response
This section describes the response format.
Response headers
For information about the headers common to all Ncloud Storage APIs, see Ncloud Storage response headers.
Response status codes
For information about the HTTP status codes common to all Ncloud Storage APIs, see Common Ncloud Storage response status codes.
Response example
The response example is as follows:
HTTP/1.1 200 OK
ETag: "2dd********************4f6181"
x-amz-object-size: 17423