Closed ORESoftware closed 8 months ago
I dont think this report has enough information to support the "extra whitespace" mentioned in the title? Am I missing something on this here? I don't see you posting the content of the json file. That said, I also believe the code you posted would have some bugs from reading on the request stream along with using the body parser. I have not tried that in a while, but it just looks to me like this is doing something problematic. If you can provide some more clear explanation that would be super helpful.
this will consume the stream of data before bodyparser can hook into it and consume the request's data
this code:
the code runs, but req.body is {} empty, but it shouldn't be
when I uncomment this:
there is plenty of json coming in and it's parseable by
jq
here is original command:
the json is fine