AFURLRequestSerialization.m中
NSString*utf8Str = [[NSStringalloc]init];
NSString*urlUtf8 = [[NSStringalloc]init];
for(AFQueryStringPair*pairinAFQueryStringPairsFromDictionary(parameters)) {
utf8Str = [pair URLEncodedStringValue];
}
urlUtf8 = [URLStringstringByAppendingFormat:@"%@&",utf8Str];
NSLog(@"%@",urlUtf8);
NSMutableURLRequest*mutableRequest = [selfrequestWithMethod:methodURLString:urlUtf8parameters:nilerror:error];
网友评论