If I try to add TXT record via Cloudflare DNS it appears in quotes there like this: "For Antispam Gateway" ...
Here is code fragment for this:
<?php
$url = env('AAPANEL_URL') . '/plugin?action=a&name=cloud_dns&s=add_record';
$p_data = $this->GetKeyData();
$resData = [];
$resData = array_merge($p_data, $resData);
$resData['zone_id'] = $zoneId;
$resData['zone'] = $domain;
$resData['dns_hosting'] = 'cloudflare';
$resData['type'] = 'TXT';
$resData['record_name'] = $site->domain;
$resData['content'] = 'For Antispam Gateway';
$resData['priority'] = '';
$resData['ttl'] = 1;
$resData['proxied'] = 'false';
$result = $this->getData($url, $resData);
I'm using PHP code, got from https://www.bt.cn/api_demo_php.zip and main functions (getKeyData and getData) are used exactly as they were provided by aaPanel devs...