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

codec

08/20/2021, 5:09 PM
what happened to
ktor.locations
? why does get<Object> work, but not post<Object> not work?
ł

Łukasz Bednarczyk

08/20/2021, 7:00 PM
you imported bad package 🙂
Copy code
import io.ktor.locations.*
import <http://io.ktor.locations.post|io.ktor.locations.post>
c

codec

08/20/2021, 8:15 PM
i ended up reverting to ktor version: 1.5.4, has this been fixed in ktor version: 1.6+?
ł

Łukasz Bednarczyk

08/21/2021, 5:40 AM
I use 1.6.1 and I don't have any problems
c

codec

08/22/2021, 3:35 AM
ok, including the other import worked. Thanks! It’s kind of silly because the * is supposed to mean all the things from
import io.ktor.locations.*
but I won’t complain.
👍 1