1.

string token = GetRequest.GetString("token");
            int customer_id = GetRequest.GetInt("UserID");

            System.Net.WebClient WebClientObj = new System.Net.WebClient();
            string url = "http://116.62.34.164/get_customer_list";

            System.Collections.Specialized.NameValueCollection PostVars = new System.Collections.Specialized.NameValueCollection();
            PostVars.Add("token", "943wski937");
            PostVars.Add("customer_id", customer_id.ToString());

            byte[] byRemoteInfo = WebClientObj.UploadValues(url, "POST", PostVars);

            //下面都没用啦,就上面一句话就可以了
            string sRemoteInfo = System.Text.Encoding.Default.GetString(byRemoteInfo);

            JavaScriptSerializer js = new JavaScriptSerializer();
            var str_Object = js.Deserialize<Advance_money_risk>(sRemoteInfo);

            return str_Object;
POST

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2019-12-31
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-06
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-16
  • 2022-12-23
  • 2021-08-19
  • 2022-12-23
  • 2021-03-29
相关资源
相似解决方案