小程序接口
This commit is contained in:
@@ -589,6 +589,7 @@ namespace BLL
|
||||
/// <returns></returns>
|
||||
public static string CreateGetHttpResponse(string url)
|
||||
{
|
||||
System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
|
||||
HttpWebRequest request = WebRequest.Create(url) as HttpWebRequest;//创建请求对象
|
||||
request.Method = "Get";//请求方式
|
||||
request.ContentType = "application/x-www-form-urlencoded";//链接类型
|
||||
|
||||
Reference in New Issue
Block a user