ios - The data couldn\U2019t be read because it isn\U2019t in the correct format using Af networking -
i'm hitting data format...
nsdictionary *params = [nsdictionary dictionarywithobjectsandkeys: [defaults valueforkey:kuseridkey],@"user_id", @"0",@"page", @"0",@"lastpage_id", @"0",@"connection_id",nil]; nsstring *path = [nsstring stringwithformat:@"%@",kusersamepagekey]; [path stringbyaddingpercentescapesusingencoding:nsutf8stringencoding]; [[apihttprequest sharedinstance] executerequestwithheaderpostparam:params forpath:path oncompletion:^(nsdictionary *response) { nslog(@"response %@", response); }];
please me..
thanks , advice.
Comments
Post a Comment