- or download this
my $res = $ua->request(POST $url,
'user-agent' => 'Mozilla/5.0',
...
#-- not required: 'content-type' => 'application/x
+-www-form-urlencoded',
);
- or download this
POST /xxx HTTP/1.1
TE: deflate,gzip;q=0.3
...
csrf_token: 28020000006.....
member_verbosity_threshold: 0
- 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
);
- or download this
POST /xxx HTTP/1.1
TE: deflate,gzip;q=0.3
...
member_verbosity_threshold: 0
csrf_token=28020000006.....