Perry,
You might try
setHTTPDefault('Authorization', 'my_userid:my_password')

Mike

Michael Dallaire
Senior Applications Developer
IBM Certified Solutions Expert
Mortgage Builder Software, Inc.
[email protected]
Main:      800.850.8060 ext. 103
Fax:        248.304.0601
www.mortgagebuilder.com
 Help Desk198
Confidentiality Notice
This transmission may contain confidential information which is intended for
the exclusive use of the intended recipient. Any disclosure, copying,
distribution or use of the contents by anyone other than the intended
recipient is strictly prohibited. If received in error, please reply to the
sender immediately

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Perry Taylor
Sent: Monday, February 22, 2010 3:40 PM
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
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to