The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

WebService::Fastly::PopApi

Load the API package

All URIs are relative to https://api.fastly.com

Method | HTTP request | Description ------------- | ------------- | ------------- list_pops | GET /datacenters | List Fastly POPs

list_pops

ARRAY[Pop] list_pops()

List Fastly POPs

Get a list of all Fastly POPs.

Example

my $api_instance = WebService::Fastly::PopApi->new(
# Configure API key authorization: token
api_key => {'Fastly-Key' => 'YOUR_API_KEY'},
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#api_key_prefix => {'Fastly-Key' => 'Bearer'},
);
eval {
my $result = $api_instance->list_pops();
print Dumper($result);
};
if ($@) {
warn "Exception when calling PopApi->list_pops: $@\n";
}

Parameters

This endpoint does not need any parameter.

Return type

ARRAY[Pop]

Authorization

token

HTTP request headers

[Back to top] [Back to API list] [Back to Model list] [Back to README]