I
I
IgorPlays2021-09-20 11:54:09
PHP
IgorPlays, 2021-09-20 11:54:09

How to catch data from WebHook'a?

There is one Wazzup company. they have an api system they can send to my webhook handler, but I have no idea how to catch their data, I checked their examples, nothing works. Maybe I missed something?
Here is their documentation
https://wazzup24.com/help/ru/all-abour-wazzup-ru/i...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Volodin, 2021-09-20
@IgorPlays

$webhook_data = file_get_contents('php://input');
$data = json_decode($webhook_data, true);
var_dump($data);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question