New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
php://input always empty #6
Comments
Try to log Can you get some samples of your code with this problem? P. S. GET or DELETE methods doesn't have body, and |
The first part of code needs only to verify webhook. |
Please, check web server logs. |
Thank you guys. So I changed url and it's ok now. |
@manix You need to pass app review include business verification (if needed) this is a separate topic for discussion) |
Not sure that it's your package problem but i have nothing in $data variable (json_decode(file_get_contents("php://input"), true)).
Can't find any soultion about this.
Im writing data to file like (file_put_contents('bot_'.time().'.txt', print_r($data, true));) this and file is empty.
Can you please help me?
The text was updated successfully, but these errors were encountered: