tencent cloud

Feedback

Common Request Headers

Last updated: 2024-06-12 15:31:54

    Overview

    This document describes common request headers that may be used in API requests. The headers mentioned below will not be addressed again in related API documents.

    Request Headers

    Header
    Description
    Type
    Required
    Authorization
    Carries the authentication information, i.e., signing information, used to verify the validity of a request
    string
    Yes
    Content-Length
    Length in bytes of the content of an HTTP request defined in RFC 2616
    integer
    NoRequired for PUT and POST requests
    Content-Type
    Content type (MIME) of an HTTP request as defined in RFC 2616, such as application/xml
    string
    NoRequired for PUT and POST requests with a request body
    Content-MD5
    Base64-encoded MD5 hash value of the request body content as defined in RFC 1864, such as ZzD3iDJdrMAAb00lgLLeig==. The value is used to verify whether the request body experienced any changes during transfer.
    string
    No
    Date
    Current time in GMT as defined in RFC 1123, such as Wed, 29 May 2019 04:10:12 GMT
    string
    No
    Host
    Requested host in the format of <BucketName-APPID>.ci.<Region>.myqcloud.com
    string
    Yes
    x-ci-security-token
    Security token field required when using temporary security credentials
    string
    NoRequired when a temporary key is used and the authentication information is carried through Authorization
    
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support