I have done this before somewhere but I can't find where anymore. My problem is, my response.send(myJSON)
is too big (the myJSON is too big) so my content get cut off before it reaches the user. How can I set the response.send()
to a bigger size or unlimited even?
Asked
Active
Viewed 916 times
0

Paul Kruger
- 2,094
- 7
- 22
- 49
-
Possible duplicate of [Nodejs send file in response](https://stackoverflow.com/questions/10046039/nodejs-send-file-in-response) – Anand Undavia Jun 26 '19 at 08:29
-
try increasing the timeout to a time greater than your response time.Then the user is going to receive all the response data – Sanjay Jun 26 '19 at 13:46
1 Answers
-1
you can use the npm package express-response-size to customize response of the server.

hong4rc
- 3,999
- 4
- 21
- 40