Movatterモバイル変換


[0]ホーム

URL:


Skip to content
Search Gists
Sign in Sign up

Instantly share code, notes, and snippets.

@youpy
Forked fromMarak/echoHttpRequest.js
Last activeAugust 29, 2015 14:08
    • Star(0)You must be signed in to star a gist
    • Fork(0)You must be signed in to fork a gist
    Save youpy/db9a0e8aafecb350e33a to your computer and use it in GitHub Desktop.
    Echo HTTP requests
    module['exports']=functionechoHttp(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);
    hook.res.end(JSON.stringify(hook.params,true,2));
    };
    Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

    [8]ページ先頭

    ©2009-2025 Movatter.jp