How to verify the push of github webhooks?
阿神
阿神 2017-05-02 09:38:54
0
1
596

has already been created in github, and it can also receive the data of the webhooks event, but there is no push field I set in it. I checked and only when adding Secret There will be a webhooks event with the ping field in it, so how can I verify that it came from Secret? github post? X-Hub-Signature

阿神
阿神

闭关修行中......

reply all(1)
曾经蜡笔没有小新

Yes, I have written a script before to make judgments. Some functions are not completed, but you can refer to the part about verifying the request

Address

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template