Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MultipartRequest with list bimaps. #8

Open
chuquangbao opened this issue Dec 12, 2013 · 0 comments
Open

MultipartRequest with list bimaps. #8

chuquangbao opened this issue Dec 12, 2013 · 0 comments

Comments

@chuquangbao
Copy link

Hi, Vinays.
I have a problem with sending "Post" with list bitmaps.
If in iOS i can use AFNetworking to use this:
NSMutableURLRequest *request = [[CVClient sharedAFHTTPClient] multipartFormRequestWithMethod:@"POST" path:path parameters:params constructingBodyWithBlock:^(id formData){
int i = 0;
for (UIImage *image in self.m_itemInfo.arrayImages) {
NSData *data1 = UIImagePNGRepresentation(image);
[formData appendPartWithFileData:data1 name:@"image" fileName:[NSString stringWithFormat:@"%@-%d.png",user_id, i] mimeType:@"image/png"];
i++;
}
}

So, with your MultipartRequest Volley, can it solve this method?

:) Best regard! Hope you can help me. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant