From 37c4a85e761033fcc73f220638fecec280833a6d Mon Sep 17 00:00:00 2001 From: allburov Date: Thu, 13 Oct 2022 10:31:39 +0700 Subject: [PATCH] Add httpbin in readme.md --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index d859b811..c92fbc4f 100644 --- a/README.md +++ b/README.md @@ -150,6 +150,12 @@ All webhooks are disabled by default: - `WHATSAPP_HOOK_ONACK=http://localhost/uri` - `WHATSAPP_HOOK_ONADDEDTOGROUP=http://localhost/uri` +If you want to look at the payload of the webhooks - use the url for that `https://httpbin.org/post`. + +```bash +docker run -it -v `pwd`/tokens:/app/tokens --network=host -e WHATSAPP_HOOK_ONMESSAGE=https://httpbin.org/post allburov/whatsapp-http-api +``` + ## File storage - `WHATSAPP_FILES_FOLDER` - folder where will be stored files from chats (images, voice messages) (