1
我们正试图从我们的Xamarin Forms项目调用Salesforce restful API。这些调用在iOS应用程序方面工作正常,但Android失败。Xamarin表单 - Salesforce - TLS 1.1或TLS 1.2。针对Android的POST API调用错误
HttpClient authClient = new HttpClient();
message = await authClient.PostAsync("url", content);
string responseString = await message.Content.ReadAsStringAsync();
我们在Android的“responseString”变量中收到以下响应。
<tr><td width="100%" height="100%"><div class="content">
<h1>**Stronger security is required**</h1><div class="simple">
<p>**To access this website, update your web browser or upgrade your operating system to support TLS 1.1 or TLS 1.2.**</p>
<p>For more information, see
<a href="https://help.salesforce.com/HTViewSolution?id=000221207&language=en_US" target="_blank">Salesforce disabling TLS 1.0</a>.
</p>
</div></div></td></tr>
</table></body>
</html>
我们需要找到一个应该支持iOS,Android和Win 10应用程序的解决方案。我们检查了iOS,它工作。现在为了Android而加入并且不工作。对于Windows,我们不检查。
请帮忙。