请任何人知道如何发送请求并在 ASIHTTP 中发送带有一些参数的文件我的代码如下我无法发送文件
NSURL *audiourl = [NSURL URLWithString:@"http://dev.kuwait.tt/demo_radioapps/radio_mobile/adduserrequest.php?program_id=3&user_name=abhishek&user_email_id=abhi@tets.com&audiofile=review.caf&mode=AddRequest"];
ASIFormDataRequest *request = [ASIFormDataRequest requestWithURL:audiourl];
[request addData:tempData withFileName:@"review.caf" andContentType:@"audio/caf" forKey:@"audiofile"];
[request setRequestMethod:@"POST"];
[request setDelegate:self];
[request startSynchronous];