Answer the question
In order to leave comments, you need to log in
How to properly catch data from Github webhook?
Hello everybody.
Has anyone encountered a problem with the github webhook?
In general, in the settings I specified a link where the information should be sent. Github accesses the link specified in the settings, but I can’t get the data in any way.
Tried to get the arrays $_POST, $_REQUEST, and checked the input streams, but to no avail.
If anyone has experience in this, please indicate where to dig.
Thanks in advance!
Answer the question
In order to leave comments, you need to log in
In general, it turned out that it was all my mistake, I caught the data like this " ", and it didn’t work because I then overwrote another code, so thanks for the answer. file_get_contents('php://input')
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question