I am trying to make a WebService Request based on the form contents. I have a field called "f1" that is a checkbox group with 3 values (3 checkboxes). I need to send this in the URL path to a REST PUT request. Currently, if i just include it in my URL, on form submission, it gets included like this (example with just 2 of the 3 checkboxes selected):
/example?f1=["1","2"]&f2=2.....
Of course, REST doesn't like this. Is there a way to make it such that it gets sent as:
/example?f1=1,2&f2=2.... OR /example?f1=1&f1=2&f2=2...
Any other suggestions welcome too!