正如标题所说,我发送POST
使用要求ASIHTTPRequest
和失败,但相同的POST
请求工作HTTPClient
,我是不是做错了什么?
- (void)postData:(NSData *)postData {
//...
NSMutableData *mutableData = [postData.mutableCopy autorelease];
[request setRequestMethod:@"POST"];
[request setPostBody:mutableData];
[request setPostLength:mutableData.length];
//....
}