i suppose it is useful to write the extension function if i would use it many times. But in this case it looks redundant, since i wrote
if (!response.isSuccessful()) "fail" else response.body().string()
only in one method
i suppose it is useful to write the extension function if i would use it many times. But in this case it looks redundant, since i wrote
if (!response.isSuccessful()) "fail" else response.body().string()
only in one method