How to set different bodyparser on specific express route – Shopify
I am using express 4. in my server.js I have express.json() middleware require('dotenv').config(); const express = require('express'); const cors = require('cors'); const mongoose = require('mongoose'); const errorHandler = require('./_helpers/error-handler'); const app = express(); const port = process.env.PORT || 5000; app.use(cors());…