{
"domain": "apitest3.rgslb.link",
"type": "CDN",
"source_type": "2",
"cache_type":"1",
"source_conf": [
{
"source": "ec2-test-boss.verycloud.cn",
"type": "1"
}
],
"is_ssl": "1",
"cert_id": "22",
"note": "备注"
}
curl --location --request POST 'https://ctgcdn.esurfingcloud.com/API/cdn/domain' \
--header 'Authorization: Bearer Af8VDldHtQxxxF4n=H8tLRl9Er7WdhaXvWWd/' \
--header 'Content-Type: application/json' \
--data-raw '{
"domain": "apitest3.rgslb.link",
"type": "CDN",
"source_type": "2",
"cache_type":"1",
"source_conf": [
{
"source": "ec2-test-boss.verycloud.cn",
"type": "1"
}
],
"is_ssl": "1",
"cert_id": "22",
"note": "备注"
}'{
"code": 1,
"message": "OK",
"data": {
"type": "cdn",
"type_zh": "CDN加速",
"username": "test",
"source_conf": [
{
"source": "ec2-test-boss.verycloud.cn"
}
],
"id": "255",
"name": "apitest42.rgslb.link",
"cname": "apitest42.rgslb.link.cloudhkgslb.com",
"share_did": ""
}
}