问题原因:显然是你的选择和接口的需求不一致,接口需要Json格式的。
解决办法:将webReq.ContentType,从"application/x-www-form-urlencoded"改为"application/json",如下面的代码所示。
HttpWebRequest webReq = (HttpWebRequest)WebRequest.Create(new Uri(postUrl));
webReq.Method = "POST";
webReq.ContentType = "application/json";