code: public synchronized String getUploadURL() throws IOException {
          if (m_uploadURL != null) {
              return m_uploadURL;
          } else {
              m_uploadURL = m_baseURL + "management/upload";
              if (m_uploadURL.startsWith("http:")) {
                  URL redirectURL = getRedirectURL(m_uploadURL);
                  if (redirectURL != null) {
                      m_uploadURL = redirectURL.toString();
                  }
              }
              return m_uploadURL;
          }
      }
docs: Get the URL to which API-M upload requests will be sent.