上一篇简单的介绍了Node.js http模块的get与post方式, 但是因为post的配置还是比较繁琐,今天推荐一个模块: node-fetch 安装 npm install node-fetch --save 使用 var fetch = require ( 'node-fetch' ); // HTML fetch ( 'https://github.com/' ) . then ( fu…
上一篇简单的介绍了Node.js http模块的get与post方式, 但是因为post的配置还是比较繁琐,今天推荐一个模块: node-fetch 安装 npm install node-fetch --save 使用 var fetch = require ( 'node-fetch' ); // HTML fetch ( 'https://github.com/' ) . then ( fu…
讨论
登录后参与讨论
还没有评论,来说第一句吧。