All Products
Search
Document Center

Function Compute:Common parameters

Last Updated:Apr 03, 2025

This topic describes the common request parameters and common response parameters of Function Compute API operations.

Common request parameters

Parameter

Type

Position

Required

Example

Description

Host

String

Header

Yes

188077086902****.cn-hangzhou.fc.aliyuncs.com

The domain name that is used to access Function Compute. For more information, see Endpoints.

Date

String

Header

Yes

Mon, 09 Nov 2020 09:46:33 GMT

The request time.

Note

The time must be in UTC.

Authorization

String

Header

Yes

FC LTAI****************:HeAE****************

  • LTAI****************: Replace this placeholder value with the

    AccessKey ID of your actual Alibaba Cloud account or the Resource Access Management (RAM) user that you use.

  • HeAE****************: Replace this placeholder value with the signature you generated.

The signature that is used for verification. For more information, see Signature authentication.

Content-Type

String

Header

Yes

application/json; charset=utf-8

The parameter type supported by the request. Valid values:

  • InvokeFunction: supports application/json and application/octet-stream.

  • Other requests: support only application/json.

Content-Length

Integer

Header

Yes

100

The length of the request body.

Content-MD5

String

Header

Yes

jT96eZsQ7fmirAZWrC87Lw==

The MD5 value of the request.

requestId

String

Data

Yes

85e24a19-a136-476f-a6ab-96b45157****

The ID of the request.

version

String

Path

Yes

2016-08-15

The version of the API.

Common response parameters

Parameter

Type

Position

Example

Description

X-Fc-Request-Id

String

Header

7c43576b-48b1-4c3a-86e5-dcb01872****

The ID of the request, which can be used for troubleshooting.

Date

String

Header

Mon, 09 Nov 2020 09:46:33 GMT

The response time.

Note

The time is displayed in UTC.

Content-Type

String

Header

application/json; charset=utf-8

The parameter type supported by the response. Valid values:

  • InvokeFunction: supports application/json and application/octet-stream.

  • Other requests: support only application/json.

Content-Length

Integer

Header

100

The length of the response body.