涉及到一点,为清楚起见,我将其发布到了Codepen,请以完整视图打开js部分,https://codepen.io/justme2018/pen/VEQOVM
部分代码:
// Register and enroll user
app.post('/users', async function(req, res) {
var username = req.body.username;
var orgName = req.body.orgName;
logger.debug('End point : /users');
logger.debug('User name : ' + username);
logger.debug('Org name : ' + orgName);
os env:ubuntu
非常感谢