The call to a TencentCloud API is done by sending a request to the server address of the API and adding the corresponding request parameters to the request based on the API description. The structure of a TencentCloud API request consists of service address, communication protocol, request method, request parameters, and character encoding as detailed below:
The service access address of TencentCloud API depends on the specific module. For more information, please see the description of each API.
Most TencentCloud APIs communicate over HTTPS, providing highly secure communication tunnels.
TencentCloud API supports both POST and GET requests.
Note:
x-www-form-urlencoded
, because TencentCloud API gets request parameters from $_POST
.Two types of request parameters are required for each TencentCloud API request: common ones and API ones. Common request parameters are required for every API (please see Common Request Parameters), while API request parameters are specific to each API (please see "Request Parameters" in each API document).
Both the request and returned result of TencentCloud API are encoded with the UTF-8 character set.
Was this page helpful?