Hi All,
I'm using PB 2017 R2 Build 1769. And I've got the following simplified lines of codes to connect to a SharePoint URL:
lu_httpclient = create httpclient
li_rc = lu_httpclient.SendRequest('GET', ls_url)
li_rc2 = lu_httpclient.GetResponseStatusCode()
ls_message = lu_httpclient.GetResponseStatusText()
destroy lu_httpclient
This works fine in a VM running Windows 2012 R2 64-bit, where I've got administrator access. However, in my work laptop running Windows 8.1 64-bit where I have non-administrator access, I get "401" and "Unauthorized" for li_rc2 and ls_message respectively. I'm trying to replace GetURL with HTTPClient functions. GetURL works on both VM and laptop. And going to the site URL using IE and Chrome works fine.
Any ideas what's missing/going wrong?
Thanks.
Best Regards,
Ricardo