• PDF


    • PDF

    Article Summary


    출처(origin) 및 요청 타입과 함께 오브젝트 경로가 지정된 OPTIONS 요청을 보내면 해당 요청 타입으로 출처(origin)에서 오브젝트로 접근할 수 있는지 확인합니다.
    다른 요청과 달리 OPTIONS 요청을 받는 경우에는 authorization 또는 x-amx-date 헤더가 필요하지 않습니다.



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


    요청 예시

    OPTIONS /example-bucket/queen-bee HTTP/1.1
    Access-Control-Request-Method: PUT
    Origin: http://example.com
    Host: kr.object.ncloudstorage.com

    응답 예시

    HTTP/1.1 200 OK
    Date: Wed, 07 Dec 2016 16:23:14 GMT
    Accept-Ranges: bytes
    x-amz-request-id: 9a2ae3e1-76dd-4eec-a8f2-1a7f60f63483
    Access-Control-Allow-Origin: *
    Access-Control-Allow-Methods: PUT
    Access-Control-Allow-Credentials: true
    Vary: Origin, Access-Control-Request-Headers, Access-Control-Allow-Methods
    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.