I use NodeJs with Express. I looked the code in https://glitch.com/edit/#!/tf-webhook-receiver?path=server.js%3A1%3A0 .
I think, He convert req.body from raw data as buffer (binary) to string and send to method that create Hmac-sha256 and then base 64.
I can not use bodyParser.raw({ type: 'application/json' }) from example link in each router because I register app.use(express.json) in application layer, it mean my whole project will receive req as JSON Object.
So I do by using some concept in example code by trying to convert req.body being object to JSON String and finally convert to buffer before create hash to compare with req.header('Typeform-Signature').
Hi @wuttichow Thanks for stopping by the community. It looks like you might be using some custom code here, but @picsoung can verify this and any issues for me!