I think it would make sense to automatically parse JSON with the express json parser, otherwise people might get confused why their Request-Bodies are empty.
Looking at the code, I think the idea was that it is supposed to do that, though I found out that it does not.
Making the following changes to the src/plugin/write/handlerFile.ts would fix this:
I think it would make sense to automatically parse JSON with the express json parser, otherwise people might get confused why their Request-Bodies are empty.
Looking at the code, I think the idea was that it is supposed to do that, though I found out that it does not.
Making the following changes to the
src/plugin/write/handlerFile.ts
would fix this: