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

Already on GitHub? Sign in to your account

Post sub-array params #14

Closed
antonioparisi opened this Issue Mar 13, 2013 · 0 comments

Comments

Projects
None yet
1 participant

Hi guys,
i went back in this problem, basically we can't post NSArray as params, so, i thought to create an NSMutableDictionary variable, and dynamically putting in it all my params, creating subarray, like this 'params[object][][field1]' and so on. But my problem is that him is overwriting always the same value, not creating subarray. 👎
i tried to create params like this: [NSString stringWithFormat:@"supply[%i][description]", i], but is really ugly.

any better ideas to solve this problem? any workaround much better?
thanks guys.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment