C# HttpClient PostAsync with parameters
2021-03-13 06:31
标签:class using string ons orm syn system tpc ada C# HttpClient PostAsync with parameters 标签:class using string ons orm syn system tpc ada 原文地址:https://www.cnblogs.com/Fred1987/p/12557113.htmlusing System.Net.Http;
static void Main(string[] args)
{
var httpTask = Taskstring>.Runstring>(() =>
{
return MainAsync();
});
httpTask.Wait();
Console.WriteLine(httpTask.Result);
Console.ReadLine();
}
static async Taskstring> MainAsync()
{
using (var client = new HttpClient())
{
List
下一篇:C# 插件式编程
文章标题:C# HttpClient PostAsync with parameters
文章链接:http://soscw.com/index.php/essay/64015.html