I request to https://platform.uipath.com/api/Account/Authenticate
and response code is 200, then I want to get token in response, my code as below:
if (statusCode == 200) {
String jsonData = response.body().string();
JSONObject jObject = new JSONObject(jsonData);
token = jObject.getString("result");
}
But I found jsonData is only binary data, it is not a String, what can I do?