I have an Http In node which fails to accept a 1.29KB POST resulting with this error:
PayloadTooLargeError: too many parameters
at queryparse (/usr/src/node-red/node_modules/body-parser/lib/types/urlencoded.js:151:13)
at parse (/usr/src/node-red/node_modules/body-parser/lib/types/urlencoded.js:75:9)
at /usr/src/node-red/node_modules/body-parser/lib/read.js:121:18
at invokeCallback (/usr/src/node-red/node_modules/raw-body/index.js:224:16)
at done (/usr/src/node-red/node_modules/raw-body/index.js:213:7)
at IncomingMessage.onEnd (/usr/src/node-red/node_modules/raw-body/index.js:273:7)
at IncomingMessage.emit (events.js:203:15)
at endReadableNT (_stream_readable.js:1145:12)
at process._tickCallback (internal/process/next_tick.js:63:19)
It' 1.0.4, but it used to work with pre-1.0 versions, so I'm stumped
This means you are sending over 1000 parameters as part of the post request - which does seem quite excessive.
Between pre-1.0 and 1.0 we would have upgraded the various modules that handle the incoming requests. I can only assume something in there has changed its behaviour in this area.
Well from https://api.jquery.com/jQuery.ajax/ "data" can be a "PlainObject"
And it works now with first "data" as an object and second data = JSON.stringify(some_array)