Skip to content

Instantly share code, notes, and snippets.

@dariusk
Created April 3, 2015 19:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dariusk/bf72c26f327c44e2e79e to your computer and use it in GitHub Desktop.
Save dariusk/bf72c26f327c44e2e79e to your computer and use it in GitHub Desktop.
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