Help for this page

Select Code to Download


  1. or download this
    D:\>curl https://localhost/debug.pl -H "Token: 3cc8bbeb" -X POST -F Te
    +st=Test
    $VAR1 = 'HTTP_ACCEPT';
    ...
    
    D:\>curl https://localhost/debug.plex -H "Token: 3cc8bbeb" -X POST -F 
    +Test=Test
    $VAR1 = 'HTTP_USER_AGENT';
    
  2. or download this
    use CGI qw(:standard);
    use Data::Dumper;
    my $session = CGI->new();
    print "HTTP/1.1 200 OK\n\n";
    print Dumper($session->http());