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

Lawrence

06/27/2022, 4:36 AM
Can anyone help me with this please?
a

Aleksei Tirman [JB]

06/27/2022, 8:17 AM
@Rustam Siniukov
d

Dominaezzz

06/27/2022, 8:33 AM
Is that even a valid URL?
r

Rustam Siniukov

06/27/2022, 10:05 AM
Right now it’s not supported. Maybe we can add support for it through parameter will
Unit?
type. Please create a ticket
Or do you need a parameter that can have both empty and non empty value?
l

Lawrence

07/06/2022, 4:33 PM
hey sorry i was away! yes that is the endpoint on a hardware that I got. I had a old Java + Apache HTTP Client project that I am migrating to kotlin + ktor. Their API is kinda weird in that instead of doing
?key=value
they are using
?key+value
I was hoping to use the type safe request builders to construct these endpoints since they can be somewhat confusing. I understand if its not meant to use this way tho
2 Views