I am doing android, looking for a way to do a super basic http GET/POST request. I keep getting an error:
java.lang.IllegalArgumentException: Unable to creat
I change the Response type, instead of adding ScalarsConverterFactory like this
interface YourApiService { @GET("/endpoint") fun getResponse(): Call }
And then you can get the string object by
val str = response.body().toString()