📜  请求查询参数 httpwebrequest - 任何代码示例

📅  最后修改于: 2022-03-11 14:59:31.177000             🧑  作者: Mango

代码示例1
var targetUri = new Uri("http://www.example.org?queryString=a&b=c");
var webRequest = (HttpWebRequest)WebRequest.Create(targetUri);

var webRequestResponse = webRequest.GetResponse();