string urlPath = ConfigurationManager.AppSettings["urlPath"] + "?AFFAIRID=" + affairguide.AFFAIRID;
HttpClient client = new HttpClient();
string response = client.GetStringAsync(urlPath).Result;
if (response != "")
{
return "error";
}
httpClient简单应用
猜你喜欢
转载自blog.csdn.net/qq_33380252/article/details/83343508
今日推荐
周排行