MugunthKumar/MKNetworkKit — Issue #34: MKNetworkOperation addData
Author: skafia
Created: 2012-01-14 03:21:44+00:00
State: open

I'm trying to upload multiple images to my server and I'm doing the following:

After creating an MKNetworkOperation object (*op), I am then adding NSData converted UIImages to it:

[op addData: dataOne forKey:@"firstImage"]'
[op addData: dataTwo forKey:@"secondImage"];

My issue is the server never receives the second image, or the second object I should say. If I reverse the lines, "secondImage" is now received, not not first.

Can you clarify how to add multiple images to one POST? Thanks.