I am doing a multi-platform project with reactJs o...
# javascript
c
I am doing a multi-platform project with reactJs on front and Ktor in the back.. There seems to be an receieving data on the reactJs side.. I can hit the server with a rest client (insomnia) and I am getting the expected data but when I try to make a call from
Copy code
jsonClient.get(endpoint + "/")
I am getting a NoTransformationFoundException .. I noticed that the content type is text/html but not sure if that is the cause of the issue.. any help would be appreciated.. also I configured my httpClient like this
Copy code
val jsonClient = HttpClient {
  install(JsonFeature) { serializer = KotlinxSerializer() }
  followRedirects = true

}
found out that the issue is that my endpoint was incorrect.. so that lead me to a new problem where I am getting a "ClassCastException" There was a issue https://youtrack.jetbrains.com/issue/KT-49601 .. but that now seems shows at incomplete. So I am opening https://youtrack.jetbrains.com/issue/KT-50356 .. hopefully this will be resolved this time