GetBucketCORS
    • PDF

    GetBucketCORS

    • PDF

    Article Summary

    最新のコンテンツが反映されていません。早急にアップデート内容をご提供できるよう努めております。最新のコンテンツ内容は韓国語ページをご参照ください。

    概要

    提供されるパラメータとともにバケットにGETリクエストを送ると、リクエストしたバケットに適用されたCORS(cross-origin resource sharing)設定情報を照会します。

    リクエスト

    構文

    GET https://{endpoint}/{bucket-name}?cors= # path style
    GET https://{bucket-name}.{endpoint}?cors= # virtual host style
    

    例示

    リクエスト例示

    次は名称が'apiary'であるバケットに適用されたCORS設定照会をリクエストする例です。

    GET /apiary?cors= HTTP/1.1
    Authorization: {authorization-string}
    x-amz-date: 20161011T190354Z
    Host: kr.object.ncloudstorage.com
    

    レスポンス例示

    HTTP/1.1 200 OK
    Date: Wed, 5 Oct 2016 15:20:30 GMT
    Accept-Ranges: bytes
    x-amz-request-id: 0b69bce1-8420-4f93-a04a-35d7542799e6
    Content-Type: application/xml
    Content-Length: 123
    
    <CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"/>
    

    この記事は役に立ちましたか?

    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.