Created
June 15, 2019 00:15
-
-
Save wallace7souza/1996a88ece84a43a8798d0528ff8c784 to your computer and use it in GitHub Desktop.
Limitar tamanho da requisição para uma rota no express
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app.post('/api/0.1/people', express.bodyParser({limit: '5mb'}), yourHandler); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment