Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

LWP/HTTP::Request Printing HTTP level

by zer (Deacon)
on Aug 19, 2009 at 19:01 UTC ( #789925=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $ua = LWP::UserAgent->new;
    my $h = HTTP::Headers->new;
    ...
    );
    print $GetReq->as_string;
    my $resp = $ua->request($GetReq);
    
  2. or download this
    PUT http://localhost:8000/user/
    Accept: text/json
    User-Agent: libwww-perl/5.831
    Content-Type: text/json
    
  3. or download this
    PUT http://localhost:8000/user/ HTTP/1.1
    Accept: text/x-json
    Content-Type: text/x-json
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://789925]
Approved by almut
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (3)
As of 2022-09-28 22:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer my indexes to start at:




    Results (125 votes). Check out past polls.

    Notices?