To replicate the issue:
- Install dependencies with
npm install - Run the server with
node server.js - Run the client with
node client.js
We expect the request to complete successfully as the body reques is within the limit set on the specific route. You will see that the request does not return an error, it just hangs up.
Replacing BODY_KO with BODY_OK in client.js and re-lunching it will show that normal requests do work.