Help for this page

Select Code to Download


  1. or download this
    my $res = $ua->request(POST $url,
                           'user-agent'                  => 'Mozilla/5.0',
    ...
    #-- not required:      'content-type'                => 'application/x
    +-www-form-urlencoded',
                          );
    
  2. or download this
    POST /xxx HTTP/1.1
    TE: deflate,gzip;q=0.3
    ...
    csrf_token: 28020000006.....
    member_verbosity_threshold: 0
    
  3. or download this
     my $res2 = $ua->request(POST $url,
                           'user-agent'                  => 'Mozilla/5.0',
    ...
    #-- not in header:     ':csrf_token'                 => '28020000006..
    +...',
                           Content                       => [ csrf_token =
    +> '28020000006.....', ]  #-- but in body
                          );
    
  4. or download this
    POST /xxx HTTP/1.1
    TE: deflate,gzip;q=0.3
    ...
    member_verbosity_threshold: 0
    
    csrf_token=28020000006.....