https://kotlinlang.org logo
#ktor
Title
# ktor
m

MJegorovas

04/29/2022, 11:36 AM
Is there a way to change how client query parameters in
Resource
are serialized? Now i get
<http://example.com?ids=1&ids=2|example.com?ids=1&ids=2>
, but I would want
<http://example.com?ids=[1|example.com?ids=[1>, 2]
One workaround I have is to just use
joinToString()
method and make parameter string type, but was wondering if there is another way.
a

Aleksei Tirman [JB]

05/07/2022, 11:12 AM
@Rustam Siniukov
r

Rustam Siniukov

05/09/2022, 6:36 AM
There is no built in functionality for that.
2 Views