Read the query string and the request body
Inside a route handler, $.query is the parsed query string and $.body is the parsed body. Total.js parses JSON, URL-encoded forms and multipart forms for you, based on the content-type of the request.
exports.install = function() {
ROUTE('POST /echo/', echo);
};
function echo($) {
$.json({ query: $.query, body: $.body });
}