POST method instead of GET
authorindvdum (gotoindvdum[at]gmail[dot]com)
Wed, 24 Oct 2012 11:40:23 +0400
changeset 2d70580b586c8
parent 1 c254d7e09b43
child 3 69e71774b397
POST method instead of GET
suo-pelmen-record.pl
     1.1 --- a/suo-pelmen-record.pl	Wed Oct 24 11:37:32 2012 +0400
     1.2 +++ b/suo-pelmen-record.pl	Wed Oct 24 11:40:23 2012 +0400
     1.3 @@ -18,7 +18,7 @@
     1.4  #$ua->agent("MyApp/0.1 ");
     1.5  
     1.6  # Create a request
     1.7 -my $req = HTTP::Request->new(GET => 'https://office.alphatech.ru/suo-pelmen/subscribe');
     1.8 +my $req = HTTP::Request->new(POST => 'https://office.alphatech.ru/suo-pelmen/subscribe');
     1.9  $req->content_type('application/x-www-form-urlencoded');
    1.10  $req->content('users=52');
    1.11