<Api Token response> I'm trying to implement a sim...
# stackoverflow
r
Api Token response I'm trying to implement a simple API post response Using the OkHttp library. This is what I was able to try. is this the correct way? even after logging the messages nothing shows in the console. I saw quite a few guides but couldn't follow them since they were outdated, I would be thankful for any recommendations data class Credentials(val username: String, val password: String) class MainActivity : AppCompatActivity() { private lateinit var usernameEditText: EditText private...