Function Compute supports HTTP triggers. Functions configured with HTTP triggers can be triggered and executed through HTTP requests. In this case, the function can be considered like a web server, which receives HTTP requests and returns the processed results to the caller.
You can configure an HTTP trigger to use parameters in an HTTP request as response information and return the information to the caller.
Configure a trigger
Function Compute allows you to configure a trigger in multiple ways:
- Configure a trigger in the Function Compute console.
- Use Funcraft to configure a trigger. For more information, see Funcraft.
- Use fcli to configure a trigger. For more information, see fcli.
- Configure a trigger by using the SDK. For more information, see SDK list.