I have a project working with a 3rd party API that has been in use with the following code:
WebApp.connectHandlers.use('/deletion', (req, res) => {
if(req.method == "POST") {
Event.process(
req.body,
req.headers[constants.X_E_SIGNATURE],
config,
environment
).then((responseCode) => {
This had worked properly before update, and now after update, it seems that req.body is undefined.
Anything I should know of that changed between versions which would prevent this from functioning?
First thing to always check is the changelog:
That said, v2.3 was Node 14 upgrade so that might have changed something for you.