Somebody have worked with KTOR consuming API's wit...
# multiplatform
d
Somebody have worked with KTOR consuming API's with the same code for mobile, desktop and Web? Thank you
h
Multiplattform is THE reason to use Ktor. Just put your code in a shared module or commonMain.
t
This section of the docs takes you through a worked example of how to use KTOR to consume an api: https://www.jetbrains.com/help/kotlin-multiplatform-dev/multiplatform-upgrade-app.html
d
Thank you for your answer, but i have problems with coroutines and desktop and wasm versions it seems that tutorials are only for mobile, i dont know if i need something else