Oh, is that JWT-compatible? I'll try having the JWT token there, but what's the refreshToken ?
a
Ankit Dubey
06/09/2021, 12:21 PM
I’ve done something like this
Copy code
val res = <http://mClient.post|mClient.post><T>("${baseURL}$mUrl") {
body = query
headers {
if (token != null)
append(HttpHeaders.Authorization, token)
}
}