docs: public JsonNode get(Integer expectedResponseCode) throws IOException {
      HttpURLConnection conn = getUrlConnection();
      byte[] responseData;
      try {
        if (!NetworkUtils.sendHttpGetRequest(conn)) {
          throw new IOException("Failed to send get request to " + endpointURI);
        }
  
        // Check the response code
        if (!NetworkUtils.checkHttpResponseCode(conn, expectedResponseCode)) {
          throw new IOException("Unexpected response from connection. Expected "
              + expectedResponseCode + " but received " + conn.getResponseCode());
        }
  
        responseData = NetworkUtils.readHttpResponse(conn);
  
      } finally {
        conn.disconnect();
      }
  
      // parse of the json
      JsonNode podDefinition;
  
      try {
        // read the json data
        ObjectMapper mapper = new ObjectMapper();
        podDefinition = mapper.readTree(responseData);
      } catch (IOException ioe) {
        throw new IOException("Failed to parse JSON response from API");
      }
  
      return podDefinition;
    }