Created
April 3, 2015 19:07
-
-
Save dariusk/bf72c26f327c44e2e79e 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
var EdgeGrid = require('edgegrid'); | |
var client_token = 'akab-xxxxxx', | |
client_secret = 'xxxxxxxx', | |
access_token = 'akab-xxxxxx', | |
baseUri = 'https://akaa-xxxxxxx.luna.akamaiapis.net/'; | |
eg.auth({ | |
'path': 'diagnostic-tools/v1/dig?hostname=developer.akamai.com&queryType=A&location=Philadelphia,United States', | |
'method': 'GET', | |
'headers': {}, | |
'body': data | |
}); | |
eg.send(function (data, response) { | |
console.log(data); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment