我遵循这里的代码:https://kiewic.com/validate-x-hub-signatue用于验证头部的签名,我认为除了'buf‘之外,我所有的都是正确和理解的。我从来没有听说过缓冲区,通过一些研究,我认为(?)我的结论是request.rawBody应该是争论的焦点,但我并不自信。 // Sends the post body into the db and the header is used to validate the post
exports.addEvent = functions.https.onRequest((request, resolve) =&g