Esempio n. 1
0
        public static ResponseRet ToPost(string apiName, string json)
        {
            string url = Config.GetValue("BackGroundServer");


            string resultData = WebCommon.APIPostBack(url + "/" + apiName, json, false);

            ResponseRet ret_data = JSONHelper.JSONToObject <Entity.Common.ResponseRet>(resultData);

            return(ret_data);
        }