Skip to content

Instantly share code, notes, and snippets.

@miguelmota
Created June 13, 2022 20:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save miguelmota/bdb9990badc6c3c8812db39b7c82ce74 to your computer and use it in GitHub Desktop.
Save miguelmota/bdb9990badc6c3c8812db39b7c82ce74 to your computer and use it in GitHub Desktop.
Node.js express payload json url size limits
app.use(express.json({ limit: '500kb' }))
app.use(express.urlencoded({ extended: false, limit: '500kb', parameterLimit: 50 }))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment