Nexmo C#Lib给'Missing username'错误

我正在使用nexmo c#lib并使用下面的代码

var results = SMS.Send(new SMS.SMSRequest
                               {
                                   from = smsOptions.From,
                                   to = smsOptions.To,
                                   text = smsOptions.Text
                               });

web.config添加下面的键:

<add key="Nexmo.UserAgent" value="myApp/1.0" />
<add key="Nexmo.Url.Rest" value="https://rest.nexmo.com" />
<add key="Nexmo.Url.Api" value="https://api.nexmo.com" />
<add key="Nexmo.api_key" value="..." />
<add key="Nexmo.api_secret" value="..." />

任何帮助将不胜感激。

链接地址: http://www.djcxy.com/p/5651.html

上一篇: Nexmo C# Lib giving 'Missing username' error

下一篇: Laravel 5 app keeps using old database connection