Skip to main content
Version: 1.x

Request Body Size

By default, FoalTS only accepts request bodies lower than 100kb. This value can be increased by using the configuration key settings.bodyParser.limit. If a number is provided, then the value specifies the number of bytes. If it is a string, the value is passed to the bytes library for parsing.

config/default.yml (example)

limit: '50mb'

config/default.json (example)

"settings": {
"bodyParser": {
"limit": "50mb"

.env (example)