检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
发送国内短信:接收号码为国内手机号码时,所填号码可以不带+86,其他号码需符合标准号码格式:+{CC}{NDC}{SN}。示例:+8613112345678。 父主题: 其他问题
","+86155****5679"],"templateId":"abcdefghabcdefghabcdefghabcdefgh","templateParas":["062569"]},{"to":["+86155****45680"],"templateId":"hgfedcbahgfedcbahgfedcbahgfedcba
Content-Length: 245 { "app_id":"******9c-1a6b-4ee5-9651-5bca450694b3", "apply_desc":"test", "qualification_id":"******ab-1390-4268-9463-73db98cdc2e1
file_id=057a76ab-1390-4268-9463-73db98cdc2e1 Host: 100.85.***.***:30300 Content-Type: multipart/form-data; boundary=<calculated when request
发送国内短信:接收号码为国内手机号码时,所填号码可以不带+86,其他号码需符合标准号码格式:+{CC}{NDC}{SN}。示例:+8613112345678 {CC}表示国家码。 {NDC}表示地区码,被叫方号码为手机号码时{NDC}可选。 {SN}表用户终端的号码。
Content-Type: <Content-Type header here> (data) ----WebKitFormBoundary7MA4YWxkTrZu0gW 响应示例 { "file_id": "******ab-1390-4268-9463-73db98cdc2e1
45f7-9f5e-af82328c5253_1188602","status":"DELIVRD"},{"sequence":"1","total":"1","updateTime":"2023-04-18T07:26:00Z","source":"2","smsMsgId":"f6dcba15
未指定的TP-DCS错误。 建议联系华为云客服核查处理。 供应商 MK:0145 短信发送失败。 短消息类型未被支持。 建议联系华为云客服核查处理。 供应商 MK:0144 短信发送失败。 字母表数据编码方案DCS未被支持。 建议联系华为云客服核查处理。
auto_test7890", "apply_desc": "test", "channel_num": "******1733968", "file_id": "******ab-1390-4268-9463-73db98cdc2e1
"app_name": "auto_test7890", "apply_desc": "test", "channel_num": "******1733968", "file_id": "******ab-1390-4268-9463-73db98cdc2e1
signedHeaders.forEach((key, value) -> postRequest.setHeader(key, value)); postRequest.setEntity(new StringEntity(body.toString(), StandardCharsets.UTF
statusCallback", statusCallBack}, //{"signature", signature} //使用国内短信通用模板时,必须填写签名名称 }; r.body =new FormUrlEncodedContent
String ak = match.group(1); // 获取access key String body = new String(IOUtils.toByteArray(request.getInputStream()), StandardCharsets.UTF
//{"signature", signature} //使用国内短信通用模板时,必须填写签名名称 }; HttpContent content = new FormUrlEncodedContent