You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use strict;
use warnings;
use LWP::UserAgent ();
use HTTP::Request::Common qw(POST);
my $ua = LWP::UserAgent->new(timeout => 10);
my $url = 'https://httpbin.org/post';
my %content = (
field => 'value',
name => 'Corion',
);
my $request = POST $url, 'Content-Type' => 'form-data', Content => \%content;
my $response = $ua->request($request);
print $response->decoded_content;
The text was updated successfully, but these errors were encountered:
Trying the following URL on https://corion.net/curl2lwp.psgi gives us some encoded form data
The following "translation" might be better:
The text was updated successfully, but these errors were encountered: