随笔分类 -  C# - WebApi

摘要:1.App_Data文件夹下添加oauthconfig.json文件 [ { "Client_Key": "name", "Client_Secret": "password", "Client_IP": [], "Scope": [ "external" ] }, { "Client_Key": 阅读全文
posted @ 2023-04-06 12:01 jxw_29 阅读(255) 评论(0) 推荐(0)
摘要:在调用接口前设置TLS HttpClient client = new HttpClient(); HttpContent httpContent = new FormUrlEncodedContent(dic); ServicePointManager.SecurityProtocol = Sec 阅读全文
posted @ 2023-03-07 16:15 jxw_29 阅读(835) 评论(0) 推荐(0)