Hello! Use kor server core(1.2.5) I make a reques...
# server
i
Hello! Use kor server core(1.2.5) I make a request for this url:
<http://127.0.0.3/order/admin?filters%5Bid%5D=33&filters%5Baddress%5D=fooooooooo>
When I try to get query parameters, ktor returns this: (img) How can I make it parse the
filters
parameter as an
hashMap
? (
val filters = hashMapOf("id" to 33, "address" to "fooooooooo")
)
r
Just
map
your entries to whatever you want. If you expected it to just work, it won’t because what you want to do is neither standard nor common
👍 1
i
Ok, thank you!