app.get('/post', function (req, res) { res.render('post_lost'); }) app.get('/captcha', function (req, res) { var arr = ccap(); var text = arr[0]; var buf = arr[1]; res.write(arr[1]); res.end(); }) post_lost.ejs中有 < . img src='/captcha'>
请问怎么在/post下取到 /captcha中的text值? 浏览器在访问localhost:3000/post的网址下取到/captcha下的text值?