I have a jquery client that is sending a POST request with a multidimensional array, something like this:
friends[0][id] 12345678 friends[0][name] Mr A friends[1][id] 78901234 friends[1][name] Mr B
That is, an array of two items, name and id.
Is there an automatic way to receive this input as list or a dictionary? I can’t seem to be able to make .getlist work
This is related with that question. As stated there, I made special library for Django/Python to handle multidimensional arrays sent through requests. You can find it on GitHub here.