bodyparser icon indicating copy to clipboard operation
bodyparser copied to clipboard

Every example *and* test is reassigning request body to response body

Open SampsonCrowley opened this issue 3 years ago • 0 comments

Why is this the default example in every case to just blindly reassign the body back to body and send it back instead of having even one single example of how to use the params within the parsed request body? (I assume it's an object or array)

I'm honestly confusued on this design decision outside of testing. Testing makes sense up to a point. is this module not even a request parser? is it a response formatter??

SampsonCrowley avatar May 03 '22 05:05 SampsonCrowley