本文列举了函数计算的API的公共请求头及公共返回头。
公共请求头
参数名称 | 类型 | 位置 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|---|
Host | String | Header | 是 | 18807708****3420.cn-hangzhou.fc.aliyuncs.com | 访问的域名。更多信息,请参见服务地址。 |
Date | String | Header | 是 | Mon, 09 Nov 2020 09:46:33 GMT | 调用API的请求时间。
说明 时间的格式是GMT格式。
|
Authorization | String | Header | 是 | FC LTAIJZbr****mhrr:HeAESktL6PiPGDmZVlpSz5Xe7Zr40JjMulNL5qTyr5M= | 签名认证。具体的生成方式,请参见签名认证。 |
Content-Type | String | Header | 是 | application/json; charset=utf-8 | 请求内容的参数类型。
|
Content-Length | Integer | Header | 是 | 100 | 请求内容的长度。 |
Content-MD5 | String | Header | 是 | jT96eZsQ7fmirAZWrC87Lw== | 请求内容的MD5值。 |
公共返回头
参数名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
X-Fc-Request-Id | String | 7c43576b-48b1-4c3a-86e5-dcb01872**** | 请求ID,可用于错误排查。 |
Date | String | Mon, 09 Nov 2020 09:46:33 GMT | 调用API的响应时间。
说明 时间的格式是GMT格式。
|
Content-Type | String | application/json; charset=utf-8 | 响应内容的参数类型。
|
Content-Length | Integer | 100 | 响应内容的长度。 |