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
use
Data::Dumper;
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();
Dumper(
$result
);
};
if
($@) {
warn
"Exception when calling PopApi->list_pops: $@\n"
;
}
Parameters
This endpoint does not need any parameter.
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]