PutObject
    • PDF

    PutObject

    • PDF

    Article Summary

    개요

    오브젝트 경로가 지정된 PUT 요청을 보내면 요청 본문을 오브젝트로 업로드합니다.
    해당 오브젝트의 SHA256 해시는 필수 헤더입니다.
    모든 오브젝트의 크기는 10TB로 제한됩니다(멀티파트를 사용하는 경우는 UploadPart 참고).
    오퍼레이션에 사용되는 파라미터, 페이로드는 없습니다.

    구문

    PUT https://{endpoint}/{bucket-name}/{object-name} # path style
    PUT https://{bucket-name}.{endpoint}/{object-name} # virtual host style
    

    예시

    요청 예시

    PUT /example-bucket/queen-bee HTTP/1.1
    Authorization: {authorization-string}
    x-amz-date: 20160825T183001Z
    x-amz-content-sha256: UNSIGNED-PAYLOAD
    Content-Type: text/plain; charset=utf-8
    Host: kr.object.fin-ncloudstorage.com
    Content-Length: 533
    
     The 'queen' bee is developed from larvae selected by worker bees and fed a
     substance referred to as 'royal jelly'. After a short while the 'queen' is
     the mother of nearly every bee in the hive, and the colony will fight
     fiercely to protect her.
    

    응답 예시

    HTTP/1.1 200 OK
    Date: Thu, 25 Aug 2016 18:30:02 GMT
    Accept-Ranges: bytes
    x-amz-request-id: 9f0ca49a-ae13-4d2d-925b-117b157cf5c3
    ETag: "3ca744fa96cb95e92081708887f63de5"
    Content-Length: 0
    

    이 문서가 도움이 되었습니까?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.