2018年08月26日 23:43
C#中的多线程咋样呢,到底用什么呢?thread还是task
问题回复
匿名游客
2018年10月14日 17:05
postData中的多线程咋样呢,到底用什么呢?th
匿名游客
2018年10月14日 17:09
这个你都不会,你能干啥
匿名游客
2019年01月08日 23:04
大哥,这个地址死活请求不通,请求方式是application/x-www-form-urlencoded
http://47.104.90.21:8009/token?grant_type=password&username=15829895633&password=111111&client_id=5E35C4B9-230E-4052-8F3C-4E2DC44D9DB5
匿名游客
2019年01月09日 12:16
HttpWebRequest req = (HttpWebRequest)HttpWebRequest.Create(this.textBox2.Text);
req.Method = "POST";
req.ContentType = "application/x-www-form-urlencoded";
req.ContentLength = 0;
try
{
using (WebResponse wr = req.GetResponse())
{
Encoding myEncoding = Encoding.GetEncoding("UTF-8");
var header = wr.Headers;
using (StreamReader myStreamReader = new StreamReader(wr.GetResponseStream(), myEncoding))
{
string data = myStreamReader.ReadToEnd();
this.textBox1.Text = data;
}
}
}
catch (WebException ex)
{
var responseText = new StreamReader(ex.Response.GetResponseStream()).ReadToEnd();
this.textBox1.Text = responseText.ToString();
}
匿名游客
2019年03月12日 11:43
http://shxcainfo.miitbeian.gov.cn/state/outPortal/messageAuthentication.action
匿名游客
2019年03月15日 17:43
https://codepen.io/bartezic/pen/ByqeNq
我来解答
匿名