Closed dwfe closed 3 years ago
Thanks for posting an issue. What will happen if you omit charset part?
Same, body equal to undefined
:
Sorry, if I omit only charset part:
headers: {
'Content-Type': 'text/plain',
},
it works correctly body is present on server side
Thanks, looks like parameters are not properly detected which results in not-matched parser.
Package scope: @marblejs/middleware-body
Fixed with version v3.4.4
.
Describe the bug I send post request from client:
and on the server side I get body as
undefined
:To Reproduce
post req { method: 'POST', url: '/long-answer', body: undefined }
Expected behavior In theory if I understood everything correctly the body should not be equal to
undefined
.Desktop (please complete the following information):