I'm making a GET call to a ring backend using cljs-ajax.
The problem is that I need to pass an array too.
cljs-ajax encodes array like this:
?array[0]=one&array[1]=two
ring expects arrays to be encoded like this:
?array=one&array=two
So using the wrap-params
middleware I don't get an array, but just different key-value pairs ({array[0] "one" array[1] "two}
).
Is there a way to solve this, or do I have to manually parse the params on the server side?
Thank you