摘要:
__blockASIFormDataRequest *request = [ASIFormDataRequestrequestWithURL:[NSURLURLWithString:url]]; NSLog(@"%@",url); //设置请求方式 [request setRequestMethod:httpMethod]; //设置超时时间 [request setTimeOutSeconds:30]; //判断是否为POST请求 NSComparisonResult comparRet2 = [httpMethod caseInsensitiveCompare:@&qu 阅读全文
摘要:
[httpMethod caseInsensitiveCompare:@"get"];不区分大小写的 字符串比较 阅读全文
摘要:
+ (ASIHTTPRequest *)requestWithURL:(NSString *)urlstring params:(NSMutableDictionary *)params httpMethod:(NSString *)httpMethod block:(FinishLoadHandle)block { NSString *url= [NSStringstringWithFormat:@"%@%@?",adrNAME,urlstring]; //判断是否为GET请求 NSComparisonRes... 阅读全文