docs: public static String fromInputStream(InputStream inputStream) throws IOException {
      if (inputStream == null) {
        return null;
      }
  
      try (BufferedReader reader = new BufferedReader(new InputStreamReader(inputStream, ENCODING_CHARSET))) {
        StringBuilder response = new StringBuilder();
  
        String line;
        while ((line = reader.readLine()) != null) {
          response.append(line);
        }
  
        return response.toString();
      }
    }