# Sers-JsStation

[ { route: '/JsStation/api1', httpMethod: 'GET', apiName: 'js作为服务站点', onInvoke: function (requestData_bytes, rpcData, reply_rpcData) { var request_string = vit.bytesToString(requestData_bytes); vit.logger.info('[api调用] request:' + request_string ); var replyData = { success: true, data: { request_string: request_string, _: Math.random() } }; return vit.objectSerializeToBytes(replyData); } } ]