1.Node.js 搭建http服务器
1.1创建server.js
| 
 | 
 | 
1.2执行 server.js
| 
 | 
 | 
1.3服务器启动
如图:
通过浏览器地址请求:http://localhost:8124
2.发送GET请求
2.1发送get请求通过聚合服务器获取微信新闻数据
| 
 | 
 | 
2.2 执行 get_demo.js
| 
 | 
 | 
2.3获取的结果打印
3.发送POST请求
3.1发送post请求通过聚合服务器获取微信闻数据
| 
 | 
 | 
3.2 执行 post_demo.js
| 
 | 
 | 
重点关注Android、Java、智能硬件、JavaEE、react-native,Swift,微信小程序
| 
 | 
 | 
| 
 | 
 | 
如图:
通过浏览器地址请求:http://localhost:8124
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 | 
| 
 | 
 |