我正在更改我的应用程序的连接对象,直到昨天我才使用AsiHttpRequest
:
[request setData:imgDataBig withFileName:@"imagename" andContentType:@"image/jpeg" forKey:@"image"];
[request setData:imgDataThumb withFileName:@"thumbname" andContentType:@"image/jpeg" forKey:@"thumb"];
现在我正在使用SthttpRequest
,并复制AsiHttpRequest
我尝试过的代码:
[request setDataToUpload:imgDataThumb parameterName:@"thumb" mimeType:@"image/jpeg" fileName:@"thumbname"];
[request setDataToUpload:imgDataBig parameterName:@"image" mimeType:@"image/jpeg" fileName:@"imagename"];
只发送一个,我该SthttpRequest
如何复制我已经完成的多图像上传AsiHttpRequest
?