coletz
01/11/2019, 7:30 PMGlobalScope.launch {
try {
val res = HttpClient().post<String> {
url("<http://172.16.94.217:3000/>")
body = "HELLO WORLD!"
}
Log.e("RES", res)
} catch (e: Exception){
e.printStackTrace()
}
}
I get a 400 bad request, while removing the body I get a response. The problem is not server side, since the server is not even receiving a call if I add the body
Am I the only one getting this behaviour? Hadn't tried with older version atmmiha-x64
01/12/2019, 11:06 AM"photo"
) and encType.coletz
01/12/2019, 3:50 PM