Here is a live example of how we use it. MY.PROXYSTATUS = setHTTPDefault("PROXY_NAME",PROXY.NAME) ;* set proxy name MY.PROXYSTATUS2 = setHTTPDefault("PROXY_PORT",PROXY.PORT);* set proxy port
MY.PAGE = createRequest(MY.URL,"GET",MY.HANDLE) ;* create a page request MY.PAGE2 = setRequestHeader(MY.HANDLE,MY.HEADER,MY.VALUE) ;* send the request MY.PAGE3 = submitRequest(MY.HANDLE,MY.TIMEOUT,MY.POST.DATA,MY.RESPONSE,RAW.WEB.DATA,MY.HTTP_STATUS) ;*get the data The above is not my code, but it works well. Hope that helps. Norm On Mon, Feb 22, 2010 at 3:40 PM, Perry Taylor <perry.tay...@zirmed.com> wrote: > I am unable to get the authentication credentials to be recognized by a > web server. I am issuing the following... > > createRequest(URL, 'GET', HDL) > > setHTTPDefault('AUTHENTICATE', 'my_userid:my_password') > > submitRequest(HDL, NUL, NUL, RESP.HDRS, RESP.DATA, HTTP.STATUS) > > ... and I always get back a 401 (Unauthorized) http status. > > I can use curl, supplying the same credentials and I get a good return. > > Any ideas? > > Thanks. > > Perry Taylor > ZirMed > 626 West Main St , 6th Floor > Louisville, KY 40202 > www.zirmed.com > > > > > CONFIDENTIALITY NOTICE: This e-mail message, including any > attachments, is for the sole use of the intended recipient(s) > and may contain confidential and privileged information. Any > unauthorized review, use, disclosure or distribution is > prohibited. ZirMed, Inc. has strict policies regarding the > content of e-mail communications, specifically Protected Health > Information, any communications containing such material will > be returned to the originating party with such advisement > noted. If you are not the intended recipient, please contact > the sender by reply e-mail and destroy all copies of the > original message. > _______________________________________________ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users