自定义视图,如何调用API?

问答 nodejs  收藏
1 / 97

在 nodejs 中写:const https = require('https'); 报错如下图。
安装 npm install https 后,还是报错。
该怎么办? 或者有别的方法?
image.png