【发布时间】:2017-07-22 14:37:19
【问题描述】:
我只是尝试使用 clickatel API 发送短信。
我使用了这里的帮助库:https://github.com/clickatell/clickatell-csharp
var apiClient = new RestClient(new RESTCredentials(ApiKey));
var result = apiClient.Authenticate();
Debug.Write("_apiClient.Authenticate() = " + result.Result);
我得到以下信息:
"Error occured during Clickatell Authenticate. Details: The remote server returned an error: (401) Unauthorized."
我已经检查了几次 api 密钥,我什至在他们的门户上重新生成了一个新的。
我错过了什么吗?
【问题讨论】:
标签: c# clickatell