clive99 has asked for the wisdom of the Perl Monks concerning the following question:

hi monks!, i'm trying to post some XML to a secure https site - i need to be able to post the xml along with a name and password to the site. what is the best way to achieve this? has anybody got an example? sorry i'm a bit of a perl novice. all i know is that it's a site that when i go to the url (https://secure-test.bibit.com/jsp/merchant/xml/paymentService.jsp) is that it brings up a dialogue box asking for name/password. is there a way for LWP to post a name/password combination and content to this kind of url? it doesn't need a certificate or anything i think. thanks in advance, clive.

Replies are listed 'Best First'.
Re: posting XML to an HTTPS site
by davorg (Chancellor) on Feb 15, 2007 at 11:51 UTC
      hiya, sorry i'm a bit of a perl novice. all i know is that it's a site that when i go to the url (https://secure-test.bibit.com/jsp/merchant/xml/paymentService.jsp) is that it brings up a dialogue box asking for name/password. is there a way for LWP to post a name/password combination and content to this kind of url? it doesn't need a certificate or anything i think. thanks again, c
Re: posting XML to an HTTPS site
by jettero (Monsignor) on Feb 15, 2007 at 11:53 UTC

    If it's possible, I would try to use WWW::Mechanize. I've become a big fan along the way. It's basically LWP, so davorg's comments still apply, but it does a lot of the work for you. You might get a lot more response if you posted something indicating what you've tried so far (if anything); or by describing the problem in more detail.

    -Paul