How to set different bodyparser on specific express route

前端 未结 0 631
后悔当初
后悔当初 2021-01-14 14:25

I am using express 4.

in my server.js I have express.json() middleware

require(\'dotenv\').config();
const express = require(\'express\');
const cors =         


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