Node doesn't receive specific web hook

Viewed 35

I have a quite empty Node running so I can parse, manipulate and reroute web hooks, but I am having problem with one in specific that doesn't log on my Node.

The route used is this:

app.post("/stripe-webhooks-endpoint", bodyParser.raw({type: 'application/json'}), function(req, res) {
 console.log(req.body);
 res.send("Stripe Successfully received Webhook request");
});

When I test it with Postman, I receive a {} as log, and then it hits back on webhooksite like so: from postman to note and then webooksite. But when I try this one from another platform, it shows nothing on my node. When I send from that platform direct to Webhooksite, it is delivered like so: from external platform direct to webhooksite. Why would it be happening? Is there a better way to debug it?

0 Answers
Related