tencent cloud

Feedback

TencentCloud API Trigger

Last updated: 2020-09-01 10:01:48

    Overview

    You can write SCF functions to handle your own business logic and trigger the functions through the management APIs exposed by SCF. The management APIs are collectively referred to as TencentCloud API in Tencent Cloud. By using the Invoke API of SCF, you can trigger and invoke functions as needed.
    The detailed TencentCloud API call method can be found in Invoke. TencentCloud API triggers have the following characteristics:

    • Invocation method: the sync or async triggering method can be defined according to the InvocationType parameter.
    • Custom event: the event or data content that triggers the function can be defined according to the ClientContext parameter, and the content has to be encoded in JSON format.

    TencentCloud API Call

    To trigger a function through TencentCloud API, you need to:

    1. Authenticate the API;
    2. Enter the common parameters;
    3. Parse the returned result.

    In addition, if you do not want to construct or parse the request content on your own, you can directly use the TencentCloud API SDK for Python, PHP, Java, Go, .NET, or Node.js to trigger functions. For more information on how to use the SDK, please see SDK.

    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