我尝试使用Orange SMS api但我下面的错误:服务错误与Orange短信API
{
"requestError": {
"serviceException": {
"messageId": "SVC0001",
"text": "A service error occurred. Error code is %1",
"variables": "PDK_SMSW_0001"
}
}
}
我尝试用curl命令行,用和的NodeJS用的Firefox插件RESTClient实现,但我总是已经同样的错误。
感谢
嗨莫克塔尔乌 谢谢您的回答,所以我已经为curl命令行界面相同的结果和的NodeJS curlrequest模块 'code' \t数据:{ \t \t outboundSMSMessageRequest:{ \t \t \t地址:“电话:+ 22177xxxxxxx”, \t \t \t senderAddress: “电话:+ 22177xxxxxxx”, \t \t \t outboundSMSTextMessage:{ \t \t \t \t消息:“Hello World!” \t \t \t} \t \t} \t} 'code' –
嗨Mouhamadou,请检查您的JSON格式有一些失踪'“,测试在这之下: { ”outboundSMSMessageRequest“:{ ”地址“: “tel:+ 22177xxxxxxx”,“senderAddress”:“tel:+ 22177xxxxxxx”,“outboundSMSTextMessage”:{“message”:“Hello World!”}}} – Moctar