.版本 2 .支持库 spec ' 这一步是用来获取sign的,但是为什么会显示缺少sign参数{"code":4100,"message":"鉴权失败,缺少 Signature 参数。","codeDesc":"AuthFailure"} 我按照API文档里面的获取签名串例子改的 secretKey = “OSGL3f35oIWU1L2TsksmUFlAiFZfatxm” srcStr = 编码_usc2到ansi (到文本 (网页_访问 (“https://wenzhi.api.qcloud.com/v2/index.php?Action=TextSensitivity&Nonce=” + 随机数 + “&Region=sz&SecretId=AKIDCewtwjLaFgzCHBtiiU3NRZtnZGjwqeHg&SignatureMethod=HmacSHA1&Timestamp=” + 时间_取现行时间戳 (真), 1))) 调试输出 (srcStr) signStr = 编码_URL编码 (编码_BASE64编码 (到字节集 (hmac.Hmac (到字节集 (srcStr), 到字节集 (secretKey), #CALG_SHA1))), 真)
https://cloud.tencent.com/act/free
企业用户可以免费领取热门云产品(云服务器、云数据库、对象存储、负载均衡、CDN)最长180天的使用时间,域名1年的使用时间,同时能够享受其他20多款云产品的免费额度
相似问题