DOKK / manpages / debian 12 / libnet-akamai-perl / Net::Akamai.3pm.en
Net::Akamai(3pm) User Contributed Perl Documentation Net::Akamai(3pm)

Net::Akamai - Utility to interface with Akamai's API

 my $data = new Net::Akamai::RequestData(
        email=>'my@email.com', 
        user => 'myuser', 
        pwd => 'mypass'
 );
 $data->add_url('http://www.myurl.com');
 $data->add_url('http://www.myurl.com/somethingelse');
 my $ap = new Net::Akamai(req_data=>$data);
 my $res = $ap->purge;
 
 if (!$res->accepted) {
        die "$res";
 }
 elsif ($res->warning) {
        warn "$res";
 }

Handles akamai purge request of multiple URLs

Patches welcome for extra functionality

SOAP::Lite version

akamai purge proxy

akamai purge uri

SOAP::Lite object

Net::Akamai::RequestData object to hold data associated with an akamai request

Net::Akamai::ResponseData object holds data associated with an akamai response

initiate the purge request

John Goulah <jgoulah@cpan.org>

Aran Deltac <bluefeet@cpan.org>

This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.

2022-06-16 perl v5.34.0