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