Post Method in Webclient
问题 web service post method is new for me. can u pls help me out what am i doing wrong. WebClient webClient = new WebClient(); webClient.Headers[HttpRequestHeader.ContentType] = "application/x-www-form-urlencoded"; webClient.Encoding = Encoding.UTF8; webClient.UploadStringCompleted += new UploadStringCompletedEventHandler((sender, e) => { if (e.Error != null) { return; } string result = e.Result; }); string uri = "http://localhost:60696/service/getlogin/"; StringBuilder postData = new