GetHttpHeaderList

Last updated:2021-03-17 11:07:19

GetHttpHeaderList

Description

You can call this operation to query HTTP response headers by domain name.

Request syntax

The API request contains common request headers and operation-specific request parameters. For more information, see the sample request.

Request headers

Header Required Type Description
X-Version Yes String The version number. Set the value to 2016-09-01.
X-Action Yes String The operation that you want to perform. Set the value to GetHttpHeaderList.

Request parameters

Parameter Required Type Description
DomainId Yes String The ID of the domain name for which you want to query HTTP response headers.

Response parameters

Parameter Type Description
HttpHeadList HttpHeader[] The HTTP response headers.

HttpHeader

Parameter Type Description
HeaderKey String The name of the HTTP header.
HeaderValue String The value of the HTTP header.

Examples

Sample request

POST JSON method:


POST / 1.1
Host: cdn.api.ksyun.com
X-Amz-Date: date
Authorization:authorization string
x-action: GetHttpHeaderList
x-version: 2016-09-01
Content-Type:application/json
Accept:application/json

DomainId=2D09NAD

Sample response

{
    "HttpHeadList": [
        {
            "HeaderKey": "Expires",
            "HeaderValue": "20"
        }
    ]
}

Did you find the above information helpful?

Unhelpful
Mostly Unhelpful
A little helpful
Helpful
Very helpful

What might be the problems?

Insufficient
Outdated
Unclear or awkward
Redundant or clumsy
Lack of context for the complex system or functionality

More suggestions

0/200

Please give us your feedback.

Submitted

Thank you for your feedback.

问题反馈