Skip to content

Instantly share code, notes, and snippets.

View guyht's full-sized avatar

Guy Halford-Thompson guyht

View GitHub Profile
@guyht
guyht / echoHttpRequest.js
Last active August 29, 2015 14:19 — forked from Marak/echoHttpRequest.js
Echo HTTP requests
module['exports'] = function echoHttp (hook) {
hook.debug("Debug messages are sent to the debug console");
hook.debug(hook.params);
hook.debug(hook.req.path);
hook.debug(hook.req.method);