Hi, on ktor `1.x` we could do `<http://client.pos...
# ktor
b
Hi, on ktor
1.x
we could do
<http://client.post|client.post><MyResponseType>(""){}
but it
2.x
we can’t specify the return type directly?
r
in 2.0 you should use
<http://client.post|client.post>("").body<MyResponseType>()
2