expressjs / body-parser

Node.js body parsing middleware

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

json limit

sharmaanirudh007 opened this issue · comments

I am sending a base64 encoded image in json body to my node server and i have set a limit of 50mb on my bodyparser json structure. Yet only slightly bigger than 400kb data of image is getting uploaded. This is my code -
app.use(bodyParser.json({limit:'50mb', type:'application/json'}));
Node v : 0.10.25

Please help me figure this out.

i have figured it out.

@sharmaanirudh007 what was your solution