Created
April 8, 2016 11:26
-
-
Save inz/6d10635c2f483920ba8a62604f632645 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -X GET \ | |
-H "Content-Type: application/json" \ | |
-H "Authorization: Bearer $DIGITALOCEAN_TOKEN" \ | |
"https://api.digitalocean.com/v2/regions"|jq '.regions | length' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment