MarkRS
06/13/2022, 4:48 PMval customer: Customer = client.get("<http://localhost:8080/customer/3>").body()
and I'm assuming this works for post too, but whatever I do I can't find a way to do this in commonMain of a KMM app. Does this need to be platform specific? I've got the content negotiation plugin loaded into the HttpClient, and imported into the class making the call, it just complains that "body" is an unresolved reference.
Can someone point me in the right direction, please.Renaud
06/13/2022, 4:49 PMapi("io.ktor:ktor-serialization-kotlinx-json:2.0.2")
MarkRS
06/13/2022, 4:54 PMMarkRS
06/14/2022, 8:52 AM