Skip to content

Instantly share code, notes, and snippets.

module['exports'] = function (hook) {
var rest = require('restler'),
moment = require('moment');
var myGender = 'male',
myCountry = 'United States',
myDOB = '1986-05-01';
var currentDate = moment();
@andrewtlove
andrewtlove / echoHttpRequest.js
Last active September 21, 2015 06:43 — forked from Marak/echoHttpRequest.js
Echo HTTP requests
module['exports'] = function echoHttp (hook) {
console.log("Console messages are sent to /logs");
console.log(hook.params);
console.log(hook.req.path);
console.log(hook.req.method);

Keybase proof

I hereby claim:

  • I am andrewtlove on github.
  • I am andrewtlove (https://keybase.io/andrewtlove) on keybase.
  • I have a public key whose fingerprint is 32BC 2A28 7A09 33E4 DB2F D2C7 3501 B053 9481 88D1

To claim this, I am signing this object: