Connection close when sending post nodejs

后端 未结 0 943
无人及你
无人及你 2021-02-01 08:24

controllers: post.js

const Post = require(\'../models/post\')
exports.createPost = (req, res) => {
    const post = new Post(req.body)
    console.log("CR         


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