CSYgo

public static string GetPostString(string urladdress, string @params)
{
string returnValue = null;
using (WebClient client = new WebClient())
{
client.Headers.Add("Content-Type", "application/x-www-form-urlencoded");
client.Encoding = Encoding.UTF8;
returnValue = client.UploadString(urladdress, "POST", @params);
}
return returnValue;
}

-------------------------以上 为  与同事之间的接口查询-------------------------------------

 

分类:

技术点:

相关文章:

  • 2021-05-20
  • 2022-01-06
  • 2021-07-23
  • 2021-12-27
  • 2021-10-07
  • 2021-08-27
  • 2021-12-22
  • 2021-08-20
猜你喜欢
  • 2021-08-04
  • 2021-12-26
  • 2021-12-15
  • 2021-07-25
  • 2021-09-19
  • 2021-07-15
  • 2021-12-05
相关资源
相似解决方案