emitting data using SocketIO in a node app across routes/pages

后端 未结 0 1344
遇见更好的自我
遇见更好的自我 2020-11-29 04:15

A form in the index.html will make a post request to the /history route and fetch the data from the MongoDB database:

server.js:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题