NextJS Handling binary data
hey,
how do you change the body parser in nextjs?
I am trying to handle raw binary file POST requests
6 Replies
I am currently doing
however the image fule that gets saved is corrupt
seems like its saving it incorrectl
what it should look like
what im getting
I think you can just set the bodyParse to false
ref: https://nextjs.org/docs/api-routes/request-helpers
but would it be body parser causing all those issues?