Answers for "express body parser limit"

0

bodyparser limit

import bodyParser from "body-parser";

const app= express();
app.use(bodyParser.json({ limit: "5mb", extended: true }));
app.use(bodyParser.urlencoded({ limit: "5mb", extended: true }));
Posted by: Guest on June-21-2020
0

how to parse using express without body parser

const express = require('express')

const app = express()

app.use(express.json())
app.use(express.urlencoded())
Posted by: Guest on July-10-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language