0

我一直在使用沙盒环境中的集成来发送免费测试短信,一切正常。这是我正在使用的代码

Dictionary<string, string> Params = new Dictionary<string, string>();
Params.Add("content", Msg);
Params.Add("to", MobileNo);
apikey.response = Api.SendSMS(apikey.api, Params);

现在我有一个开发人员中央帐户,我只更改了 API ID,现在没有短信通过。我被建议使用给我的用户名和密码 - 我在哪里使用/放置这些凭据,请帮助!

4

1 回答 1

0

HTTP 发送 api 提供以下 uri 用于发送消息。

https://platform.clickatell.com/messages/http/send?apiKey=your_api_key&to=xxxxxxxxxxx&content=Test+message+text

这是我目前正在使用的实现。试一试。

于 2018-06-27T22:21:47.287 回答