NAME

Net::ACME2::HTTP - transport logic for Net::ACME2.

SYNOPSIS

my $resp = Net::ACME2::HTTP->new()->get('https://url/to/endpoint');

my $http_authn = Net::ACME2::HTTP->new( key => $account_key );

my $post_resp = $http_authn->post(
    'https://url/to/endpoint',
    { foo => 4 },   #i.e., the payload to send
    %opts,          #cf. HTTP::Tiny::request
);

DESCRIPTION

This module handles communication with an ACME server at the HTTP level. It handles the wrapping of POSTs in JWSes (JSON Web Signatures).