HTTP-Message
view release on metacpan or search on metacpan
lib/HTTP/Request.pm view on Meta::CPAN
=back
=head1 EXAMPLES
Creating requests to be sent with L<LWP::UserAgent> or others can be easy. Here
are a few examples.
=head2 Simple POST
Here, we'll create a simple POST request that could be used to send JSON data
to an endpoint.
#!/usr/bin/env perl
use strict;
use warnings;
use HTTP::Request ();
use JSON::MaybeXS qw(encode_json);
my $url = 'https://www.example.com/api/user/123';
( run in 0.527 second using v1.01-cache-2.11-cpan-2b1a40005be )