随笔 - 35  文章 - 4  评论 - 0  阅读 - 8448 
11 2022 档案
Call API URL连接拼参数的方法
摘要:void TestNTFD() { try { try { ServicePointManager.SecurityProtocol = (SecurityProtocolType)192 | (SecurityProtocolType)768 | (SecurityProtocolType)307 阅读全文
posted @ 2022-11-02 14:00 码农小白修炼记 阅读(108) 评论(0) 推荐(0) 编辑
后台调用 WEBAPI 几种方式
摘要:示例是调用谷歌短网址的API. 1. HttpClient方式: public static async void DoAsyncPost() { DateTime dateBegin = DateTime.Now; string url = @"https://www.googleapis.com 阅读全文
posted @ 2022-11-02 10:06 码农小白修炼记 阅读(157) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示