Programming-Idioms

History of Idiom 183 > diff from v10 to v11

Edit summary for version 11 :
New Perl implementation by user [daxim]

Version 10

2019-09-28, 15:21:20

Version 11

2019-09-29, 08:46:43

Idiom #183 Make HTTP PUT request

Make a HTTP request with method PUT to URL u

Idiom #183 Make HTTP PUT request

Make a HTTP request with method PUT to URL u

Imports
use HTTP::Tiny qw();
Code
my $response = HTTP::Tiny->new->put($u, {content => $http_request_body});
Doc URL
http://p3rl.org/HTTP::Tiny