NSURLRequest Upload Multiple Files
问题 I'm trying to upload multiple files to a server using a POST request, but for some reason, only one file is submitted. I suspect I'm doing something wrong with the boundary, but I'm not sure where... What's wrong with my code? [_serverRequest setHTTPMethod:@"POST"]; NSString *_boundary = @"14737809831466499882746641449"; NSString *_contentType = [NSString stringWithFormat:@"multipart/form-data; charset=UTF-8; boundary=%@",_boundary]; [_serverRequest setValue:_contentType forHTTPHeaderField:@