On 2013-11-20 22:39, Sönke Ludwig wrote:
Usually you wouldn't want that, but it was the most natural choice for
the case when someone declares a complex parameter for a GET method.
Another possibility would be to break up the struct into multiple
parameters (e.g.param_field1=2.5¶m_field2=hello
), but then there
are possible ambiguities and the implementation complexity grows
considerably.
We're using Ruby on Rails with quite many fairly complex forms. These
are all POST/PUT requests but they would work for GET as well. Just use
nested query parameters:
foo[x][y]
Shouldn't be an ambiguities since all the fields in a class/struct need
to have unique names anyway.
/Jacob Carlborg