Example #1
0
 public void GetUserInfo()
 {
     var _my01 = DynamicJsonSend.SendAsync("http://api.t.totyu.cn/api/My01Info/SearchMy01Info?userId=30080", null, RequestMethod.GET, ContentType.String, true);
 }
Example #2
0
        public static double GetServiceOADate()
        {
            var url = "http://api.t.totyu.cn/api/Common/GetServiceOADate";

            return(DynamicJsonSend.SendAsync(url, null, RequestMethod.GET, ContentType.String));
        }
 public static dynamic GetJsonAsync(string url, ContentType type = ContentType.String, bool requesterHeader = false)
 {
     return(DynamicJsonSend.SendAsync(url, null, RequestMethod.GET, type, requesterHeader));
 }
Example #4
0
        public static dynamic GetMy01Info(int userID)
        {
            string _url = "http://api.t.totyu.cn/api/My01Info/SearchMy01Info?userId=" + userID;

            return(DynamicJsonSend.SendAsync(_url, null, RequestMethod.GET, ContentType.String, true));
        }
 public static dynamic PostJsonAsync(string url, object content, ContentType type = ContentType.String)
 {
     return(DynamicJsonSend.SendAsync(url, content, RequestMethod.POST, type));
 }