Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Separation boundary in multipart/form-data POSTs

by aardvark (Pilgrim)
on Aug 01, 2002 at 03:02 UTC ( #186665=note: print w/ replies, xml ) Need Help??


in reply to Separation boundary in multipart/form-data POSTs

Thanks for all your help. I got the boundary value to appear after much finagling with the Content portion.
Authentication was driving me nuts, until, I came across a wonderful little post from tilly. This place is full of Fonzies!!

Re (tilly) 2: HTTP::Headers, HTTP::Request, Authentication, LWP::Useragent

The working code looks like this:

my $ua = LWP::UserAgent->new; my $uri = "http://" . "$uid" . ":" . "$pass" . "@" . "myserver.com/LL +S/GenPublishMessage"; my $req = $ua->request(POST "$uri", Content_Type => 'multipart/form-data', Content => [ xmlmsg=>$xmlmsg ]);

Get Strong Together!!


Comment on Re: Separation boundary in multipart/form-data POSTs
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://186665]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2015-07-05 19:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (67 votes), past polls