asp.net 写接口接收POST过来的数据,处理后并返数据
这是发过来的数据,不是用url?来传参的
logistics_interface=" + logisticsInterface + "&data_digest=" + datadigest + "&type=online&client
---------------------------------------------------------
接收
Stream resStream = Request.InputStream;
StreamReader sr = new StreamReader(resStream, System.Text.Encoding.UTF8);
往下不知道该怎么写了。
foreach(string key in Request.Forms.Keys) { string value = Request.Forms[key]; }