可获取公司https的
public static void test2(String url) {
WebClient wc = new WebClient();
wc.Encoding = Encoding.UTF8;
wc.Headers.Add("Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9");
wc.Headers.Add("Content-Type: application/json");
wc.Headers.Add("User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36");
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
// result = wc.UploadString(url, "POST", data);
string s = wc.DownloadString(url);
Console.Write(s);
}