code: public String text() {
          try {
              connect();
              return responseCode() >= 400 ? read(connection.getErrorStream()) : read(connection.getInputStream());
          } catch (IOException e) {
              throw new HttpException("Failed URL: " + url, e);
          }finally {
              dispose();
          }
      }
docs: Fetches response content from server as String.
  
  @return response content from server as String.