使用 node api 实现的 ajax 请求,browserify 之后可以方便的在浏览器端使用 使用方式 var ajax = require('mtfe_ajax'); ajax({ url: '/hello', data: { foo: 'bar' }, callback: function(error, data) { if (error) { // Do something with the error } console.log(data); }});