Leggere la query string e il body della richiesta
In un handler di route, $.query è la query string già interpretata e $.body è il body interpretato. Total.js interpreta per te JSON, moduli URL-encoded e moduli multipart, in base al content-type della richiesta.
exports.install = function() {
ROUTE('POST /echo/', echo);
};
function echo($) {
$.json({ query: $.query, body: $.body });
}