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