Closed folsze closed 1 year ago
Subsection Number 8: .addConverterFactory(Json.asConverterFactory("application/json".toMediaType()))
marked as red because:
https://stackoverflow.com/questions/57358023/okhttp3-in-kotlin-string-mediatype-does-not-work
So the 2020 answer from Stackoverflow is missing as a task, before the said task
Hello @folsze,
Thank you for reaching out to us and sharing your feedback. The code block is updated, it should be .addConverterFactory(Json.asConverterFactory(MediaType.get("application/json"))):
Subsection Number 8: .addConverterFactory(Json.asConverterFactory("application/json".toMediaType()))
marked as red because:
https://stackoverflow.com/questions/57358023/okhttp3-in-kotlin-string-mediatype-does-not-work
So the 2020 answer from Stackoverflow is missing as a task, before the said task