curl --request GET \
--url https://api.gcore.com/cdn/aws_regions \
--header 'Authorization: <api-key>'
[
{
"id": 1,
"code": "us-east-1",
"name": "US East (N. Virginia)"
},
{
"id": 2,
"code": "us-east-2",
"name": "US East (Ohio)"
}
]
Get the list of Amazon AWS regions.
curl --request GET \
--url https://api.gcore.com/cdn/aws_regions \
--header 'Authorization: <api-key>'
[
{
"id": 1,
"code": "us-east-1",
"name": "US East (N. Virginia)"
},
{
"id": 2,
"code": "us-east-2",
"name": "US East (Ohio)"
}
]
API key for authentication. Make sure to include the word apikey
, followed by a single space and then your token.
Example: apikey 1234$abcdef
Successful.
The response is of type object
.
Was this page helpful?