我只是想使用 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 密钥,我什至在他们的门户上重新生成了一个新的。
我错过了什么吗?