If you run curl with the -v flag to set it verbose you can see what headers are being sent and make sure you create the correct one in your code.
-----Original Message----- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Perry Taylor Sent: 22 February 2010 20:40 To: U2 Users List Subject: [U2] [UV] - setHTTPDefault(AUTHENTICATE, value) 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