I can't find a solution for parsing an array of values such as:
Form parameters
foo = ["a", "b", "c"]
bar = true
In rouille
let data = try_or_400!(post_input!(request, {
foo : Vec<String>,
bar: bool
}));
bar and any "non-vector" types bind correctly, foo will always be empty.
I also tried renaming foo to foo[] on the client side.
How can I bind such values?
I can't find a solution for parsing an array of values such as:
Form parameters
In rouille
bar
and any "non-vector" types bind correctly,foo
will always be empty.I also tried renaming
foo
tofoo[]
on the client side.How can I bind such values?