Joe
01/14/2018, 2:34 PMimplementation 'com.squareup.moshi:moshi-kotlin:1.5.0'
, the set hardcoded values in my data class that is the body of a call are no longer included. I imagine this is an issue with the adaptor (or the way I set it up), but I’m not sure what to do next. The code looks like this:
interface IAuth {
@POST("path/forquery")
fun authorize(@Query("credentials") credentials: String, @Body body: AuthorizeRequestBody): Call<AuthorizeResponse>
}
data class AuthorizeRequestBody(val email_address: String, val state: String) {
val language = "en"
val platform = "android"
}