Hello, Using the Ktor HttpClient on Android and iO...
# multiplatform
e
Hello, Using the Ktor HttpClient on Android and iOS.  I need to do some kind of json validation for authorization purposes… I am trying to create a 
Feature
 that parses the json, does the checking and then proceed with the response… The problem is that I cannot call 
readBytes
 twice. The second time it’s empty as the response has already been consumed when doing the validation. Is there any way to do it
e
I tried that but it was a bit hard to rebuild the client call… So I am on the right track
r
Look at how the logging feature work
And the auth feature. It builds a new request from the request