tencent cloud

内容分发网络 CDN

动态与公告
产品动态
公告
新手指引
产品简介
产品概述
产品优势
应用场景
基本概念
使用限制
CDN性能说明(抽样)
购买指南
CDN 购买指南
ECDN 购买指南
快速入门
从零开始配置 CDN
接入域名
配置 CNAME
域名归属权验证
域名接入常见问题
配置指南
域名管理
域名配置
统计分析
刷新预热
日志服务
安全加速
服务查询
离线缓存
权限管理
权限配置
控制台权限说明
子账号或协作者开通实时日志的方法
场景教学
CDN 加速 COS 资源
实践教程
CDN 迁移至 EdgeOne 工具使用指南
CDN - CVM
CDN - COS
DNSPod 一键配置 CNAME
CDN日志定时存储
API 文档
History
Introduction
API Category
Content Management APIs
Real-time Log APIs
Service Query APIs
Data Query APIs
Making API Requests
Log Query APIs
StopCdnDomain
Configuration Management APIs
Obsoleted APIs
Other APIs
Data Types
Error Codes
常见问题
功能特性问题
计费相关问题
域名接入问题
缓存配置问题
刷新预热问题
统计分析问题
HTTPS 相关问题
访问相关问题
故障相关问题
故障处理
状态码说明及处理建议
不同节点缓存内容不一致
接入 CDN 后,网页访问速度慢
流量命中率偏低
CDN 域名突然出现404状态
页面展示异常-访问跨域报错
资源缓存未生效
CDN Service Level Agreement
词汇表

Request Structure

PDF
聚焦模式
字号
最后更新时间: 2025-12-24 10:38:40

1. Service Address

The API supports access from either a nearby region (at cdn.intl.tencentcloudapi.com) or a specified region (at cdn.ap-guangzhou.tencentcloudapi.com for Guangzhou, for example).

We recommend using the domain name to access the nearest server. When you call an API, the request is automatically resolved to a server in the region nearest to the location where the API is initiated. For example, when you initiate an API request in Guangzhou, this domain name is automatically resolved to a Guangzhou server, the result is the same as that of specifying the region in the domain like "cdn.ap-guangzhou.tencentcloudapi.com".

Note: For latency-sensitive businesses, we recommend that you specify the region in the domain name.

Tencent Cloud currently supports the following regions:

Hosted region Domain name
Local access region (recommended, only for non-financial availability zones) cdn.intl.tencentcloudapi.com
South China (Guangzhou) cdn.ap-guangzhou.tencentcloudapi.com
East China (Shanghai) cdn.ap-shanghai.tencentcloudapi.com
East China (Nanjing) cdn.ap-nanjing.tencentcloudapi.com
North China (Beijing) cdn.ap-beijing.tencentcloudapi.com
Southwest China (Chengdu) cdn.ap-chengdu.tencentcloudapi.com
Southwest China (Chongqing) cdn.ap-chongqing.tencentcloudapi.com
Hong Kong, Macao, Taiwan (Hong Kong, China) cdn.ap-hongkong.tencentcloudapi.com
Southeast Asia (Singapore) cdn.ap-singapore.tencentcloudapi.com
Southeast Asia (Jakarta) cdn.ap-jakarta.tencentcloudapi.com
Southeast Asia (Bangkok) cdn.ap-bangkok.tencentcloudapi.com
Northeast Asia (Seoul) cdn.ap-seoul.tencentcloudapi.com
Northeast Asia (Tokyo) cdn.ap-tokyo.tencentcloudapi.com
U.S. East Coast (Virginia) cdn.na-ashburn.tencentcloudapi.com
U.S. West Coast (Silicon Valley) cdn.na-siliconvalley.tencentcloudapi.com
South America (São Paulo) cdn.sa-saopaulo.tencentcloudapi.com
Europe (Frankfurt) cdn.eu-frankfurt.tencentcloudapi.com

2. Communications Protocol

All the Tencent Cloud APIs communicate via HTTPS, providing highly secure communication tunnels.

3. Request Methods

Supported HTTP request methods:

  • POST (recommended)
  • GET

The Content-Type types supported by POST requests:

  • application/json (recommended). The TC3-HMAC-SHA256 signature algorithm must be used.
  • application/x-www-form-urlencoded. The HmacSHA1 or HmacSHA256 signature algorithm must be used.
  • multipart/form-data (only supported by certain APIs). You must use TC3-HMAC-SHA256 to calculate the signature.

The size of a GET request packet is up to 32 KB. The size of a POST request is up to 1 MB when the HmacSHA1 or HmacSHA256 signature algorithm is used, and up to 10 MB when TC3-HMAC-SHA256 is used.

4. Character Encoding

Only UTF-8 encoding is used.

帮助和支持

本页内容是否解决了您的问题?

填写满意度调查问卷,共创更好文档体验。

文档反馈