I can't seem to get the JSON POST data of the webhook. I set up everything correctly (the webhook URL, also tested if the server is getting POST requests) and the requests are coming when the user posts something, but no POST nor GET data is logged. Is this a common bug or is it just me?
As they said:
we will send an HTTPS POST request to the specified url, containing a JSON-serialized
It's a post, but they didn't mentioned any parameter for us to get it, just a JSON value, so try get the raw input.
For example in PHP I got it by using: file_get_contents('php://input')
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With