Jump To …

index.js

lib/endPoints/echo/

API Endpoint ECHO

(exports = module.exports = function(house){
    var handleReq = function(req, res, next) {
        if(req.fields) {
            res.end(JSON.stringify(req.fields));
        } else {
            res.end(req.url);
        }
    };
    return handleReq;
});

generated Mon Jul 23 2012 19:36:44 GMT-0700 (PDT)
"House.Js"