const apiInstance = new Fastly.PopApi();
Note
All URIs are relative to https://api.fastly.com
Method | HTTP request | Description |
---|---|---|
listPops | GET /datacenters | List Fastly POPs |
listPops()
Get a list of all Fastly POPs.
apiInstance.listPops()
.then((data) => {
console.log(data, "API called successfully.");
})
.catch((error) => {
console.error(error);
});
This endpoint does not need any parameters.